py3dtiles.tilers.point.pnts.pnts_writer module

py3dtiles.tilers.point.pnts.pnts_writer.node_to_pnts(name: bytes, node: Node | DummyNode, out_folder: Path) int[source]
py3dtiles.tilers.point.pnts.pnts_writer.points_to_pnts_file(out_folder: Path, name: bytes, points: Points) 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