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 PathWindingRule
getWindingRule()
Replies the winding rule for the path.boolean
isCurved()
Replies the path contains a curve.boolean
isMultiParts()
Replies the path has multiple parts, i.e. multipleMOVE_TO
are inside.boolean
isPolygon()
Replies the path is composed only by oneMOVE_TO
, a sequence ofLINE_TO
orQUAD_TO
orCURVE_TO
, and a singleCLOSE
primitives.boolean
isPolyline()
Replies the path is composed only by oneMOVE_TO
, and a sequence ofLINE_TO
primitives.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_TO
primitives.- Returns:
true
if the path does not contain curve primitives,false
otherwise.
-
isCurved
@Pure boolean isCurved()
Replies the path contains a curve.- Returns:
true
if the path contains curve primitives,false
otherwise.
-
isMultiParts
@Pure boolean isMultiParts()
Replies the path has multiple parts, i.e. multipleMOVE_TO
are inside. primitives.- Returns:
true
if the path has multiple move-to primitive,false
otherwise.
-
isPolygon
@Pure boolean isPolygon()
Replies the path is composed only by oneMOVE_TO
, a sequence ofLINE_TO
orQUAD_TO
orCURVE_TO
, and a singleCLOSE
primitives.- Returns:
true
if the path does not contain curve primitives,false
otherwise.
-
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.
-
-