py3dtiles.points.node module

class py3dtiles.points.node.DummyNode(_bytes)[source]

Bases: object

class py3dtiles.points.node.Node(name: bytes, aabb: ndarray, spacing: float)[source]

Bases: object

docstring for Node

aabb
aabb_center
aabb_size
children
dirty
dump_pending_points() List[Tuple[bytes, bytes, int]][source]
flush_pending_points(catalog: NodeCatalog, scale: float) None[source]
get_pending_points_count() int[source]
get_point_count(node_catalog: NodeCatalog, max_depth: int, depth: int = 0) int[source]
static get_points(data: Node | DummyNode, include_rgb: bool) ndarray[source]
grid
insert(node_catalog: NodeCatalog, scale: float, xyz: np.ndarray, rgb: np.ndarray, make_empty_node: bool = False)[source]
inv_aabb_size
load_from_bytes(byt: bytes) None[source]
name
needs_balance() bool[source]
pending_rgb
pending_xyz
points
save_to_bytes() bytes[source]
spacing
static to_tileset(executor: ProcessPoolExecutor | None, name: bytes, parent_aabb: ndarray, parent_spacing: float, folder: Path, scale: ndarray) dict[source]
py3dtiles.points.node.node_to_tileset(args)[source]