Interface PointSamplingServices
public interface PointSamplingServices
Stateless services for point sampling.
It is a wrapper to the stateful implementation in
PointSamplingVisitor
.-
Method Summary
Static MethodsModifier and TypeMethodDescriptionsample
(MeshFacet mesh, PointSamplingConfig config) Returns a list of samples from the given mesh.sample
(MeshModel mesh, PointSamplingConfig config) Returns a list of samples from the given mesh.sample
(Collection<MeshFacet> mesh, PointSamplingConfig config) Returns a list of samples from the given mesh.
-
Method Details
-
sample
Returns a list of samples from the given mesh.- Parameters:
mesh
- Mesh model to be sub-sampledconfig
- Configuration of the service- Returns:
- a point sampler or
null
-
sample
Returns a list of samples from the given mesh.- Parameters:
mesh
- Mesh facet to be sub-sampledconfig
- Configuration of the service- Returns:
- a point sampler or
null
-
sample
Returns a list of samples from the given mesh.- Parameters:
mesh
- Mesh facets to be sub-sampledconfig
- Configuration of the service- Returns:
- a point sampler or
null
-