9.52. Compute Vertex to Triangle Distances
Group (Subgroup)
Sampling (Spatial)
Description
This Filter computes distances between points in a Vertex Geoemtry and triangles in a Triangle Geoemtry. Specifically, for each point in the Vertex Geometry, the Euclidean distance to the closest triangle in the Triangle Geoemtry is stored. This distance is signed: if the point lies on the side of the triangle to which the triangle normal points, then the distance is positive; otherwise, the distance is negative. Additionally, the ID the closest triangle is stored for each point.
Input Data
Parameter Name |
Parameter Type |
Parameter Notes |
Description |
|---|---|---|---|
Source Vertex Geometry |
Geometry Selection |
Vertex |
The Vertex Geometry point cloud to map to triangles |
Target Triangle Geometry |
Geometry Selection |
Triangle |
The triangle geometry to compare against |
Triangle Normals |
Array Selection |
Allowed Types: float64 |
The triangle geometry’s normals array |
Output Output Arrays
Parameter Name |
Parameter Type |
Parameter Notes |
Description |
|---|---|---|---|
Distances Array |
DataObjectName |
The array to store distance between vertex and triangle |
|
Closest Triangle Ids Array |
DataObjectName |
The array to store the ID of the closest triangle |
License & Copyright
Please see the description file distributed with this plugin.
DREAM3D-NX Help
If you need help, need to file a bug report or want to request a new feature, please head over to the DREAM3DNX-Issues GitHub site where the community of DREAM3D-NX users can help answer your questions.