Class CrossSectionVisitorImpl
java.lang.Object
cz.fidentis.analyst.engines.cut.impl.CrossSectionVisitorImpl
- All Implemented Interfaces:
MeshVisitor
,CrossSectionVisitor
A visitor that calculates the cross-section of a face and a cutting plane by
splitting the mesh edges.
This visitor is thread-safe.
-
Constructor Summary
ConstructorsConstructorDescriptionCrossSectionVisitorImpl
(Plane plane) Constructor for CrossSectionZigZag visitor -
Method Summary
Modifier and TypeMethodDescriptionReturns computed cross-section curve.void
visitMeshFacet
(MeshFacet facet) The inspection method to be implemented by specific visitors.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cz.fidentis.analyst.data.mesh.MeshVisitor
dispose, isThreadSafe
-
Constructor Details
-
CrossSectionVisitorImpl
Constructor for CrossSectionZigZag visitor- Parameters:
plane
- cutting plane
-
-
Method Details
-
visitMeshFacet
Description copied from interface:MeshVisitor
The inspection method to be implemented by specific visitors.- Specified by:
visitMeshFacet
in interfaceMeshVisitor
- Parameters:
facet
- Mesh facet to be visited.
-
getCrossSectionCurve
Description copied from interface:CrossSectionVisitor
Returns computed cross-section curve.- Specified by:
getCrossSectionCurve
in interfaceCrossSectionVisitor
- Returns:
- cross-section curve
-