floorHeight property
double?
get
floorHeight
Height of the lowest horizontal plane, a good guess for the floor.
Implementation
double? get floorHeight {
final Iterable<UArPlane> floors = value.planes.values.where((UArPlane p) => p.type == UArPlaneType.horizontalUp);
if (floors.isEmpty) return null;
return floors.map((UArPlane p) => p.pose.position.y).reduce(min);
}