Operations#

The operations module provides a collection of geometry processing functions for point cloud and mesh manipulation. These operations handle common tasks like clustering, filtering, resampling, and surface fitting.

Decorator#

use_point_data(operation)

Decorator to ensure operations work on underlying point cloud data.

Point Cloud Processing#

Operations for filtering, resampling, and extracting features from point clouds.

downsample(geometry[, method])

Reduces point density by removing points based on spatial or random criteria.

remove_outliers(geometry[, method])

Filters out points that are statistical outliers based on local neighborhoods.

skeletonize(geometry[, method, sigma])

Extract structural skeleton from point cloud.

crop(geometry, distance, query[, keep_smaller])

Filters points based on their distance to a set of query points.

Clustering#

Methods for partitioning point clouds into distinct groups.

cluster(geometry, method[, drop_noise, ...])

Partitions points into clusters using the specified clustering algorithm.

Normal Computation#

Functions for calculating or modifying surface normals.

compute_normals(geometry[, method, k])

Calculates normals for points or flips existing normals.

Surface Fitting#

Operations for fitting parametric models and generating meshes from point clouds.

fit(geometry, method, **kwargs)

sample(geometry, sampling, method[, ...])

Generates new points by sampling from a fitted parametric model.

Mesh Operations#

Operations specific to triangular mesh processing.

remesh(geometry, method, **kwargs)

smooth(geometry, method, **kwargs)

Utility Functions#

General-purpose geometry utilities.

duplicate(geometry, **kwargs)

Duplicate a geometry.

visibility(geometry[, visible])

Change the visibility of a geometry object

Operation Registry#

The GeometryOperations class provides a central registry for all operation functions, allowing dynamic registration and access.

GeometryOperations

Registry for geometry operation functions.