py3dtiles.typing module

class py3dtiles.typing.AssetDictType[source]

Bases: dict

extensions: NotRequired[dict[str, ExtensionDictType]]
extras: NotRequired[ExtraDictType]
tilesetVersion: NotRequired[str]
version: Literal['1.0', '1.1']
class py3dtiles.typing.BoundingVolumeBoxDictType[source]

Bases: dict

box: list[float]
extensions: NotRequired[dict[str, ExtensionDictType]]
extras: NotRequired[ExtraDictType]
class py3dtiles.typing.BoundingVolumeRegionDictType[source]

Bases: dict

extensions: NotRequired[dict[str, ExtensionDictType]]
extras: NotRequired[ExtraDictType]
region: list[float]
class py3dtiles.typing.BoundingVolumeSphereDictType[source]

Bases: dict

extensions: NotRequired[dict[str, ExtensionDictType]]
extras: NotRequired[ExtraDictType]
sphere: list[float]
class py3dtiles.typing.ContentType[source]

Bases: dict

boundingVolume: NotRequired[BoundingVolumeDictType]
extensions: NotRequired[dict[str, ExtensionDictType]]
extras: NotRequired[ExtraDictType]
uri: str
class py3dtiles.typing.ExtraFieldsDescription(name: 'str', dtype: 'np.dtype[Any]')[source]

Bases: object

dtype: dtype[Any]
name: str
class py3dtiles.typing.HierarchyClassDictType[source]

Bases: TypedDict

instances: dict[str, list[Any]]
length: int
name: str
class py3dtiles.typing.MetadataReaderType[source]

Bases: TypedDict

aabb: ndarray[Any, dtype[float64]]
avg_min: ndarray[Any, dtype[float64]]
crs_in: CRS | None
extra_fields: list[ExtraFieldsDescription]
has_color: bool
point_count: int
portions: list[tuple[Path, tuple[int, ...]]]
class py3dtiles.typing.PropertyDictType[source]

Bases: dict

extensions: NotRequired[dict[str, ExtensionDictType]]
extras: NotRequired[ExtraDictType]
maximum: float
minimum: float
class py3dtiles.typing.RootPropertyDictType[source]

Bases: TypedDict

extensions: NotRequired[dict[str, ExtensionDictType]]
extras: NotRequired[ExtraDictType]
class py3dtiles.typing.TileDictType[source]

Bases: dict

boundingVolume: BoundingVolumeDictType
children: NotRequired[list[TileDictType]]
content: NotRequired[ContentType]
extensions: NotRequired[dict[str, ExtensionDictType]]
extras: NotRequired[ExtraDictType]
geometricError: GeometricErrorType
refine: NotRequired[RefineType]
transform: NotRequired[TransformDictType]
viewerRequestVolume: NotRequired[BoundingVolumeDictType]
class py3dtiles.typing.TilesetDictType[source]

Bases: dict

asset: AssetDictType
extensions: NotRequired[dict[str, ExtensionDictType]]
extensionsRequired: NotRequired[list[str]]
extensionsUsed: NotRequired[list[str]]
extras: NotRequired[ExtraDictType]
geometricError: GeometricErrorType
properties: NotRequired[PropertyType]
root: TileDictType