Structures
Structures are used for adding superpowers to PyntCloud instances.
For example, a VoxelGrid can be used for:
- Converting a point cloud into a valid input for a convolutional neural network.
- Finding nearest neighbors.
- Finding unconnected clusters of points in the point cloud.
- Many other cool things.
All structures are built on top of a point cloud, mesh or another structure.
You can create structures using:
-
PyntCloud.
add_structure
()[source]
Convex Hull
-
class
pyntcloud.structures.
ConvexHull
(points, incremental=False, qhull_options=None)[source]
Delaunay3D
-
class
pyntcloud.structures.
Delaunay3D
(points, furthest_site=False, incremental=False, qhull_options=None)[source]
KDTree
-
class
pyntcloud.structures.
KDTree
(*, points, leafsize=16, compact_nodes=False, balanced_tree=False)[source]
VoxelGrid
-
class
pyntcloud.structures.
VoxelGrid
(*, points, colors=None, n_x=1, n_y=1, n_z=1, size_x=None, size_y=None, size_z=None, regular_bounding_box=True)[source]