Skip to contents

Orient normals consistently

Usage

px_orient_normals(cloud, viewpoint = NULL, method = "mst")

Arguments

cloud

A px_cloud with normals.

viewpoint

Numeric vector of length 3, or NULL. If provided, orients normals toward this point.

method

Character: "mst" (minimum spanning tree) or "viewpoint".

Value

The cloud with consistently oriented normals.