py3dtiles.tilers.pnts.pnts_writer module
- py3dtiles.tilers.pnts.pnts_writer.node_to_pnts(name: bytes, node: Node | DummyNode, out_folder: Path, include_rgb: bool, include_classification: bool) int [source]
- py3dtiles.tilers.pnts.pnts_writer.points_to_pnts_file(name: bytes, points: ndarray[Any, dtype[uint8]], out_folder: Path, include_rgb: bool, include_classification: bool) tuple[int, Path] [source]
- Write a pnts file from an uint8 data array containing:
points as SemanticPoint.POSITION
if include_rgb, rgb as SemanticPoint.RGB
if include_classification, classification as a single np.uint8 value