py3dtiles.tilers.point.node.node_catalog module

class py3dtiles.tilers.point.node.node_catalog.NodeCatalog(nodes: bytes, name: bytes, root_aabb: ndarray[Any, dtype[float64]], root_spacing: float, include_rgb: bool, extra_fields: list[ExtraFieldsDescription])[source]

Bases: object

NodeCatalog is a store of Node objects.

Using a NodeCatalog allows to only store a children names in nodes, instead of storing a full recursive structure.

dump(name: bytes, max_depth: int) bytes[source]

Serialize the stored nodes to a bytes list

get_node(name: bytes) Node[source]

Returns the node mathing the given name