Package org.arakhne.afc.math.geometry.d3
Interface PathIterator3D<T extends PathElement3D>
-
- Type Parameters:
T- the type of the path elements.
- All Superinterfaces:
Iterator<T>
- All Known Subinterfaces:
PathIterator3afp<T>,PathIterator3ai<T>
- All Known Implementing Classes:
MultiShape3afp.AbstractMultiShapePathIterator,MultiShape3afp.MultiShapePathIterator,MultiShape3afp.TransformedMultiShapePathIterator,MultiShape3ai.AbstractMultiShapePathIterator,MultiShape3ai.MultiShapePathIterator,MultiShape3ai.TransformedMultiShapePathIterator,Path3afp.AbstractPathPathIterator,Path3afp.FlatteningPathIterator,Path3afp.PathPathIterator,Path3afp.TransformedPathPathIterator,Path3ai.AbstractPathIterator,Path3ai.FlatteningPathIterator,Path3ai.PathPathIterator,Path3ai.TransformedPathIterator,PathIteratorWrapper,PathIteratorWrapper,RectangularPrism3afp.RectanglePathIterator,RectangularPrism3afp.TransformedRectanglePathIterator,RectangularPrism3ai.RectanglePathIterator,RectangularPrism3ai.TransformedRectanglePathIterator,Segment3afp.SegmentPathIterator,Segment3ai.AbstractSegmentPathIterator,Segment3ai.SegmentPathIterator,Segment3ai.TransformedSegmentPathIterator,Sphere3afp.AbstractSpherePathIterator,Sphere3afp.SpherePathIterator,Sphere3afp.TransformedCirclePathIterator,Sphere3ai.AbstractCirclePathIterator,Sphere3ai.SpherePathIterator,Sphere3ai.TransformedCirclePathIterator
public interface PathIterator3D<T extends PathElement3D> extends Iterator<T>
This interface describes an interator on path elements.- Since:
- 13.0
- Version:
- 17.0 2020-01-04 14:41:43
- Author:
- Stéphane GALLAND, Thomas PIOTROWSKI
- Maven Group Id:
- org.arakhne.afc.core
- Maven Artifact Id:
- mathgeom
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PathWindingRulegetWindingRule()Replies the winding rule for the path.booleanisCurved()Replies the path contains a curve.booleanisMultiParts()Replies the path has multiple parts, i.e. multipleMOVE_TOare inside.booleanisPolygon()Replies the path is composed only by oneMOVE_TO, a sequence ofLINE_TOorQUAD_TOorCURVE_TO, and a singleCLOSEprimitives.booleanisPolyline()Replies the path is composed only by oneMOVE_TO, and a sequence ofLINE_TOprimitives.PathIterator3D<T>restartIterations()Replies a reset instance of this iterator.-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
-
-
-
Method Detail
-
getWindingRule
@Pure PathWindingRule getWindingRule()
Replies the winding rule for the path.- Returns:
- the winding rule for the path.
-
isPolyline
@Pure boolean isPolyline()
Replies the path is composed only by oneMOVE_TO, and a sequence ofLINE_TOprimitives.- Returns:
trueif the path does not contain curve primitives,falseotherwise.
-
isCurved
@Pure boolean isCurved()
Replies the path contains a curve.- Returns:
trueif the path contains curve primitives,falseotherwise.
-
isMultiParts
@Pure boolean isMultiParts()
Replies the path has multiple parts, i.e. multipleMOVE_TOare inside. primitives.- Returns:
trueif the path has multiple move-to primitive,falseotherwise.
-
isPolygon
@Pure boolean isPolygon()
Replies the path is composed only by oneMOVE_TO, a sequence ofLINE_TOorQUAD_TOorCURVE_TO, and a singleCLOSEprimitives.- Returns:
trueif the path does not contain curve primitives,falseotherwise.
-
restartIterations
PathIterator3D<T> restartIterations()
Replies a reset instance of this iterator.The reset instance enables to restart iterations with the replied iterator.
- Returns:
- the reset iterator.
-
-