Skip to main content

orient_normals_consistent

Function orient_normals_consistent 

Source
pub fn orient_normals_consistent(
    input: &PointCloud,
    config: NormalOrientationConfig,
) -> SpatialResult<PointCloud>
Expand description

Re-orients a cloud’s normals so neighboring normals agree in sign.

The cloud must already carry normals. The seed of each connected component is oriented to point along +Z (upward); apply a viewpoint convention afterwards (e.g. orient_normal_towards_viewpoint) if one is needed instead.