OpeningData class

Represents a detected opening in a wall, which can be a door or a window.

Constructors

OpeningData.new({required String uuid, required OpeningType type, required Position position, required double width, required double height, required Confidence confidence, RoomDimensions? dimensions, Matrix4? transform})
Creates an OpeningData.
const
OpeningData.fromJson(Map<String, dynamic> json)
Creates an OpeningData from a JSON map.
factory

Properties

confidence Confidence
The confidence level of the detected opening.
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 opening.
final
position Position
The 3D position of the opening.
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
type OpeningType
The type of opening (door or window).
final
uuid String
A unique identifier for the opening.
final
width double
The width of the opening.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this OpeningData to a JSON map.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override