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 TypeMethodDescriptionintcurrentSegment(double[] coords) intcurrentSegment(float[] coords) intbooleanisDone()voidnext()
-
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:
getWindingRulein interfacePathIterator
-
isDone
public boolean isDone()- Specified by:
isDonein interfacePathIterator
-
next
public void next()- Specified by:
nextin interfacePathIterator
-
currentSegment
public int currentSegment(float[] coords) - Specified by:
currentSegmentin interfacePathIterator
-
currentSegment
public int currentSegment(double[] coords) - Specified by:
currentSegmentin interfacePathIterator
-