class
SemanticRegionMethods
- def contains(self, point: magnum.Vector3) -> bool
- Check whether the given point is contained in the given region.
Properties
- aabb: geo.BBox get
- category: SemanticCategory get
- The semantic category of the region
- extrusion_height: float get
- The height of the extrusion above the floor.
- floor_height: float get
- The height above the x-z plane for the floor of the semantic region.
- id: str get
- The ID of the region, either as the region’s unique name, or of the form
<level_id>_<region_id>
- level: SemanticLevel get
- objects: typing.List[SemanticObject] get
- All objects in the region
- poly_loop_points: typing.List[magnum.Vector2] get
- The points making up the polyloop for this region, coplanar and parallel to the floor.
- volume_edges: typing.List[typing.List[magnum.Vector3]] get
- The edges, as pairs of points, that determine the boundaries of the region. For visualizations.