Interface AvgMeshServices
public interface AvgMeshServices
Stateless services for average face calculation.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic MeshModel
computeByRayCasting
(Octree octree, AvgMeshConfig config) Returns a list of samples from the given mesh.static MeshModel
computeByRayCasting
(Collection<Octree> octrees, AvgMeshConfig config) Returns a list of samples from the given mesh.static MeshModel
computeFromNearestNeighbors
(KdTree kdTree, AvgMeshConfig config) Returns a list of samples from the given mesh.static MeshModel
computeFromNearestNeighbors
(Collection<KdTree> kdTrees, AvgMeshConfig config) Returns a list of samples from the given mesh.
-
Method Details
-
computeFromNearestNeighbors
Returns a list of samples from the given mesh.- Parameters:
kdTree
- Mesh to be averagedconfig
- Configuration of the service- Returns:
- the average mesh or
null
-
computeFromNearestNeighbors
Returns a list of samples from the given mesh.- Parameters:
kdTrees
- Meshes to be averagedconfig
- Configuration of the service- Returns:
- the average mesh or
null
-
computeByRayCasting
Returns a list of samples from the given mesh.- Parameters:
octree
- Mesh to be averagedconfig
- Configuration of the service- Returns:
- the average mesh or
null
-
computeByRayCasting
Returns a list of samples from the given mesh.- Parameters:
octrees
- Meshes to be averagedconfig
- Configuration of the service- Returns:
- the average mesh or
null
-