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

From CloudCompareWiki
Jump to navigation Jump to search
 
Line 17: Line 17:
 
== Parameters ==
 
== Parameters ==
  
 +
When using this tool with a primitive (and not a polyline), the following dialog will appear:
 
[[Image:Dist_to_primitive_dialog.jpg|frame|center|Cloud-to-primitive distances dialog]]
 
[[Image:Dist_to_primitive_dialog.jpg|frame|center|Cloud-to-primitive distances dialog]]
  

Latest revision as of 07:23, 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

When using this tool with a primitive (and not a polyline), the following dialog will appear:

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)