Interface PointSamplingServices


public interface PointSamplingServices
Stateless services for point sampling. It is a wrapper to the stateful implementation in PointSamplingVisitor.
  • Method Details

    • sample

      static List<MeshPoint> sample(MeshModel mesh, PointSamplingConfig config)
      Returns a list of samples from the given mesh.
      Parameters:
      mesh - Mesh model to be sub-sampled
      config - Configuration of the service
      Returns:
      a point sampler or null
    • sample

      static List<MeshPoint> sample(MeshFacet mesh, PointSamplingConfig config)
      Returns a list of samples from the given mesh.
      Parameters:
      mesh - Mesh facet to be sub-sampled
      config - Configuration of the service
      Returns:
      a point sampler or null
    • sample

      static List<MeshPoint> sample(Collection<MeshFacet> mesh, PointSamplingConfig config)
      Returns a list of samples from the given mesh.
      Parameters:
      mesh - Mesh facets to be sub-sampled
      config - Configuration of the service
      Returns:
      a point sampler or null