|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.kabeja.dxf.helpers.HatchLineSegment
public class HatchLineSegment
| Field Summary | |
|---|---|
protected double |
angle
|
protected double |
currentLength
|
protected Vector |
direction
|
protected int |
index
|
protected double |
l
|
protected double |
length
|
protected ParametricLine |
line
|
protected double[] |
pattern
|
protected Point |
startPoint
|
protected double |
totalLength
|
| Constructor Summary | |
|---|---|
HatchLineSegment(ParametricLine line,
double length,
double startLength,
double[] pattern)
|
|
HatchLineSegment(Point startPoint,
double angle,
double length)
|
|
HatchLineSegment(Point startPoint,
Vector direction,
double length)
|
|
| Method Summary | |
|---|---|
double |
getLength()
|
Point |
getPoint(double offset)
|
Point |
getPointAt(double para)
|
Point |
getStartPoint()
|
boolean |
hasNext()
|
protected void |
initialize(double startLength)
|
boolean |
isSolid()
|
double |
next()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Point startPoint
protected Vector direction
protected double angle
protected double totalLength
protected double length
protected double currentLength
protected double[] pattern
protected double l
protected int index
protected ParametricLine line
| Constructor Detail |
|---|
public HatchLineSegment(Point startPoint,
double angle,
double length)
startPoint - angle - the angle in degrees
public HatchLineSegment(Point startPoint,
Vector direction,
double length)
public HatchLineSegment(ParametricLine line,
double length,
double startLength,
double[] pattern)
| Method Detail |
|---|
public Point getStartPoint()
public double getLength()
public Point getPoint(double offset)
public Point getPointAt(double para)
public boolean hasNext()
public double next()
protected void initialize(double startLength)
public boolean isSolid()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||