Interface CurvatureServices
public interface CurvatureServices
Stateless services for curvature calculation.
It is a wrapper to the stateful implementation in
CurvatureVisitor
.-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic Curvature
Calculates principal curvatures and principal directions of a single point lying on a mesh surfacestatic Curvature
Calculates principal curvatures and principal directions of a single point lying on a mesh surfacestatic Curvature
compute
(MeshPoint point, Collection<MeshFacet> facets) Calculates principal curvatures and principal directions of a single point lying on a mesh surfacestatic void
computeAndSet
(MeshFacet mesh, CurvatureConfig config) Sets curvature to visited mesh vertices.static void
computeAndSet
(MeshModel mesh, CurvatureConfig config) Sets curvature to visited mesh vertices.static void
computeAndSet
(Collection<MeshFacet> mesh, CurvatureConfig config) Sets curvature to visited mesh vertices.
-
Method Details
-
computeAndSet
Sets curvature to visited mesh vertices.- Parameters:
mesh
- Mesh model to be inspectedconfig
- Configuration of the service
-
computeAndSet
Sets curvature to visited mesh vertices.- Parameters:
mesh
- Mesh facet to be inspectedconfig
- Configuration of the service
-
computeAndSet
Sets curvature to visited mesh vertices.- Parameters:
mesh
- Mesh facets to be inspectedconfig
- Configuration of the service
-
compute
Calculates principal curvatures and principal directions of a single point lying on a mesh surface- Parameters:
point
- Point on a surfacefacets
- Mesh surface- Returns:
- curvature
-
compute
Calculates principal curvatures and principal directions of a single point lying on a mesh surface- Parameters:
point
- Point on a surfacefacet
- Mesh surface- Returns:
- curvature
-
compute
Calculates principal curvatures and principal directions of a single point lying on a mesh surface- Parameters:
point
- Point on a surfacemesh
- Mesh surface- Returns:
- curvature
-