Package hec.gfx2d
Class LogarithmicPathIterator
java.lang.Object
hec.gfx2d.LogarithmicPathIterator
- All Implemented Interfaces:
PathIterator
-
Field Summary
Fields inherited from interface java.awt.geom.PathIterator
SEG_CLOSE, SEG_CUBICTO, SEG_LINETO, SEG_MOVETO, SEG_QUADTO, WIND_EVEN_ODD, WIND_NON_ZERO
-
Constructor Summary
ConstructorsConstructorDescriptionLogarithmicPathIterator
(double[] xvalues, double[] yvalues, int numPoints, int samples, AffineTransform at) Creates a logarithmic path iterator.LogarithmicPathIterator
(float[] xvalues, float[] yvalues, int numPoints, int samples, AffineTransform at) Creates a logarithmic path iterator. -
Method Summary
Modifier and TypeMethodDescriptionint
currentSegment
(double[] coords) int
currentSegment
(float[] coords) int
boolean
isDone()
void
next()
-
Constructor Details
-
LogarithmicPathIterator
public LogarithmicPathIterator(double[] xvalues, double[] yvalues, int numPoints, int samples, AffineTransform at) Creates a logarithmic path iterator. The iterator will iterate points in the supplied arrays but will logarithmically interpolate n samples between * each point.- Parameters:
xvalues
-yvalues
-numPoints
-samples
-
-
LogarithmicPathIterator
public LogarithmicPathIterator(float[] xvalues, float[] yvalues, int numPoints, int samples, AffineTransform at) Creates a logarithmic path iterator. The iterator will iterate points in the supplied arrays but will logarithmically interpolate n samples between each point.- Parameters:
xvalues
-yvalues
-numPoints
-samples
-
-
-
Method Details
-
getWindingRule
public int getWindingRule()- Specified by:
getWindingRule
in interfacePathIterator
-
isDone
public boolean isDone()- Specified by:
isDone
in interfacePathIterator
-
next
public void next()- Specified by:
next
in interfacePathIterator
-
currentSegment
public int currentSegment(float[] coords) - Specified by:
currentSegment
in interfacePathIterator
-
currentSegment
public int currentSegment(double[] coords) - Specified by:
currentSegment
in interfacePathIterator
-