Interface MeshDistanceServices


public interface MeshDistanceServices
Stateless services for mesh-to-mesh distance measurement. It is a wrapper to the stateful implementation of MeshDistanceVisitor.
  • Method Details

    • measure

      static MeshDistances measure(Collection<MeshFacet> facets, MeshDistanceConfig config)
      Returns distances between the source mesh stored in the strategy object and meshes provided as input parameter.
      Parameters:
      facets - Meshes to be checked
      config - Configuration of the service
      Returns:
      Distance measurement
    • measure

      static MeshDistances measure(MeshFacet facet, MeshDistanceConfig config)
      Returns distances between the source mesh stored in the strategy object and the mesh provided as input parameter.
      Parameters:
      facet - Mesh to be checked
      config - Configuration of the service
      Returns:
      Distance measurement
    • measure

      static MeshDistances measure(MeshModel meshModel, MeshDistanceConfig config)
      Returns distances between the source mesh stored in the strategy object and the mesh provided as input parameter.
      Parameters:
      meshModel - Mesh to be checked
      config - Configuration of the service
      Returns:
      Distance measurement