Interface MeshDistanceVisitor

All Superinterfaces:
MeshVisitor, Serializable
All Known Implementing Classes:
MeshDistanceNN, MeshDistanceRC, MeshDistanceRCGPU, MeshDistanceVisitorImpl

public interface MeshDistanceVisitor extends MeshVisitor, Serializable
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 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 to null.

      Returns:
      the distance of inspected mesh facets to the source mesh facets.
    • relativeDistance

      boolean relativeDistance()
      Returns true 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()
      Returns true if the distance computation is parallel.
      Returns:
      true if the distance computation is parallel.