Difference between revisions of "Cloud-to-Primitive Distance"

From CloudCompareWiki
Jump to navigation Jump to search
(Created page with "== Menu == This tool is accessible via the 'Tools > Distances > Cloud/Primitive dist.' menu entry. == Description == Computes the mathematically correct distance between a...")
 
Line 21: Line 21:
 
* '''treat planes as bounded''': to consider plane entities as infinite planes (unchecked), or as a bounded rectangle (checked)
 
* '''treat planes as bounded''': to consider plane entities as infinite planes (unchecked), or as a bounded rectangle (checked)
 
* '''signed distances''': whether to compute signed or unsigned distances
 
* '''signed distances''': whether to compute signed or unsigned distances
* '''flip normals''': whether to flip the normals of the primitive
+
* '''flip normals''': whether to flip the normals of the primitive (only enabled if 'signed distances' is checked)

Revision as of 07:19, 2 December 2023

Menu

This tool is accessible via the 'Tools > Distances > Cloud/Primitive dist.' menu entry.

Description

Computes the mathematically correct distance between a cloud and a primitive entity or a polyline. Instead of using the 3D representation of the entity (as a triangular mesh), this method will compute the exact distance to the primitive. It's faster and more accurate.

Supported primitives are:

  • Plane
  • Sphere
  • Cylinder
  • Cone
  • Box
  • Polyline

Parameters

Cloud-to-primitive distances dialog
  • treat planes as bounded: to consider plane entities as infinite planes (unchecked), or as a bounded rectangle (checked)
  • signed distances: whether to compute signed or unsigned distances
  • flip normals: whether to flip the normals of the primitive (only enabled if 'signed distances' is checked)