public class HatchLineIterator
extends java.lang.Object
implements java.util.Iterator
| Modifier and Type | Field and Description |
|---|---|
protected double |
angle |
protected java.util.List |
bounderyEdges |
protected double |
currentWalkingStep |
protected Bounds |
hatchBounds |
protected double |
length |
static double |
LIMIT |
protected HatchLineFamily |
pattern |
protected ParametricLine |
patternLine |
protected Vector |
r |
protected double |
tmax |
protected double |
tmin |
protected Vector |
v |
protected double |
walkingLength |
| Constructor and Description |
|---|
HatchLineIterator(DXFHatch hatch,
HatchLineFamily pattern) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
calculateIntersection(double x,
double y) |
protected Point |
getPoint(double m,
double n) |
protected double[] |
getRasterValues(double x,
double y)
calculate the m and n raster values of a given point.
|
boolean |
hasNext() |
protected void |
initialize() |
java.lang.Object |
next() |
void |
remove() |
public static final double LIMIT
protected double angle
protected Bounds hatchBounds
protected HatchLineFamily pattern
protected double length
protected Vector v
protected Vector r
protected java.util.List bounderyEdges
protected ParametricLine patternLine
protected double tmin
protected double tmax
protected double walkingLength
protected double currentWalkingStep
public HatchLineIterator(DXFHatch hatch, HatchLineFamily pattern)
public boolean hasNext()
hasNext in interface java.util.Iteratorprotected void initialize()
protected void calculateIntersection(double x,
double y)
protected double[] getRasterValues(double x,
double y)
public java.lang.Object next()
next in interface java.util.Iteratorpublic void remove()
remove in interface java.util.Iteratorprotected Point getPoint(double m, double n)