py3dtiles.tilers.point.pnts.pnts_writer module
- py3dtiles.tilers.point.pnts.pnts_writer.node_to_pnts(name: bytes, node: Node | DummyNode, out_folder: Path, include_rgb: bool, include_classification: bool, include_intensity: bool) int [source]
- py3dtiles.tilers.point.pnts.pnts_writer.points_to_pnts_file(name: bytes, points: ndarray[Any, dtype[uint8]], out_folder: Path, include_rgb: bool, include_classification: bool, include_intensity: 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
if include_intensity, intensity as a single np.uint8 value