Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/MeshQueries.h |
Include |
#include "MeshQueries.h" |
template<typename MeshSpatialType>
static double HausdorffDistance
(
const TriangleMeshType & MeshA,
const MeshSpatialType & SpatialB
)
Compute all vertex-to-surface distances in parallel. Serial raw loop to find max element (using Algo::MaxElement was never faster in initial benchmarking.)
The maximum distance to the surface contained in SpatialB over all vertices in MeshA.
Parameter |
Description |
---|---|
MeshA |
The mesh whose maximum vertex distance should be computed. |
SpatialB |
The target surface's acceleration structure. |