WallData class
Represents a detected wall surface.
Constructors
-
WallData.new({required String uuid, required Position position, required List<
Position> points, required double width, required double height, required Confidence confidence, required List<OpeningData> openings, RoomDimensions? dimensions, Matrix4? transform}) -
Creates a WallData.
const
-
WallData.fromJson(Map<
String, dynamic> json) -
Creates a WallData from a JSON map.
factory
Properties
- confidence → Confidence
-
The confidence level of the detected wall.
final
- dimensions → RoomDimensions?
-
The detailed dimensions (width, height, depth) from the new API.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- height → double
-
The height of the wall.
final
-
openings
→ List<
OpeningData> -
A list of openings (doors or windows) detected in this wall.
final
-
points
→ List<
Position> -
A list of 3D points that define the perimeter of the wall.
final
- position → Position
-
The 3D position of the wall's center.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transform → Matrix4?
-
The 3D transformation matrix (position, rotation) from the new API.
final
- uuid → String
-
A unique identifier for the wall.
final
- width → double
-
The width of the wall.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this WallData to a JSON map.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override