Interface MeshDistanceVisitor
- All Superinterfaces:
MeshVisitor
,Serializable
- All Known Implementing Classes:
MeshDistanceNN
,MeshDistanceRC
,MeshDistanceRCGPU
,MeshDistanceVisitorImpl
Interface for visitors that search for the distance between inspected meshes (their vertices)
to the given primary mesh, which is provided to the visitor's constructor.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the distance of inspected mesh facets to the source mesh facets.boolean
Returnstrue
if the distance computation is parallel.boolean
Returnstrue
if the distance was computed as relative (with possibly negative values).Methods inherited from interface cz.fidentis.analyst.data.mesh.MeshVisitor
dispose, isThreadSafe, visitMeshFacet
-
Method Details
-
getDistancesOfVisitedFacets
MeshDistances getDistancesOfVisitedFacets()Returns the distance of inspected mesh facets to the source mesh facets.If non or multiple closest points were found or if the point was auto-cropped, then the distance is set to
Double.POSITIVE_INFINITY
and the nearest neighbor is set tonull
.- Returns:
- the distance of inspected mesh facets to the source mesh facets.
-
relativeDistance
boolean relativeDistance()Returnstrue
if the distance was computed as relative (with possibly negative values).- Returns:
true
if the distance is computed as relative,false
otherwise.
-
inParallel
boolean inParallel()Returnstrue
if the distance computation is parallel.- Returns:
true
if the distance computation is parallel.
-