py3dtiles.points package#

class py3dtiles.points.Points(positions: ndarray[Any, dtype[float32 | uint16]], colors: ndarray[Any, dtype[uint8 | uint16]] | None = None, extra_fields: dict[str, ndarray[Any, dtype[Any]]] | None = None)[source]#

Bases: object

This class represents an arbitrary amount of points.

Each properties contains one elem per vertices. Ex: positions is an array of coordinates triplet.

Ex: [[1, 2, 3], [3, 4, 5]]

extra_fields should be a dict. The property name is the field name, the values is a flat array of values

colors: ndarray[Any, dtype[uint8 | uint16]] | None#
extra_fields: dict[str, ndarray[Any, dtype[Any]]]#
positions: ndarray[Any, dtype[float32 | uint16]]#

Subpackages#

Submodules#