py3dtiles.tileset.bounding_volume module

class py3dtiles.tileset.bounding_volume.BoundingVolume[source]

Bases: RootProperty[_BoundingVolumeJsonDictT], Generic[_BoundingVolumeJsonDictT]

Abstract class used as interface for box, region and sphere

abstract add(other: BoundingVolume[Any]) None[source]
abstract classmethod from_dict(bounding_volume_dict: _BoundingVolumeJsonDictT) Self[source]
abstract get_center() ndarray[Any, dtype[float64]][source]
is_box() bool[source]
is_region() bool[source]
is_sphere() bool[source]
abstract sync_with_children(owner: Tile) None[source]
abstract to_dict() _BoundingVolumeJsonDictT[source]
abstract transform(transform: ndarray[Any, dtype[float64]]) None[source]
abstract translate(offset: ndarray[Any, dtype[float64]]) None[source]