layerview.visualization.point_cloud.boundaries module

Axis-aligned bounding box abstractions.

class layerview.visualization.point_cloud.boundaries.BoundingBox(point_min, point_max)[source]

Bases: ABC

Generic axis-aligned bounding box.

_abc_impl = <_abc_data object>
property center
abstract static from_origin(point_max) BoundingBox[source]
abstract static null_object() BoundingBox[source]
property size
class layerview.visualization.point_cloud.boundaries.BoundingBox2D(point_min: LVector2d, point_max: LVector2d)[source]

Bases: BoundingBox

2D axis-aligned bounding box.

_abc_impl = <_abc_data object>
property center
static from_origin(point_max: LVector2d) BoundingBox2D[source]
static null_object() BoundingBox2D[source]
property size: LVector2d
class layerview.visualization.point_cloud.boundaries.BoundingBox3D(point_min: LVector3d, point_max: LVector3d)[source]

Bases: BoundingBox

3D axis-aligned bounding box.

_abc_impl = <_abc_data object>
property center
static from_origin(point_max: LVector3d) BoundingBox3D[source]
static null_object() BoundingBox3D[source]
property size: LVector3d