|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jbotrace.base.Line
Description: Line provides functions to handle lines.
Constructor Summary | |
Line()
|
|
Line(Vec[] pts)
|
|
Line(Vec p1,
Vec p2)
|
Method Summary | |
double |
distanceToPoint(Vec pt)
|
double |
getDirection()
|
double |
getLength()
|
Vec[] |
getPoints()
|
boolean |
pointIsBeside(Vec pt)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Line()
public Line(Vec p1, Vec p2)
public Line(Vec[] pts)
Method Detail |
public double distanceToPoint(Vec pt)
public double getDirection()
public double getLength()
public Vec[] getPoints()
public boolean pointIsBeside(Vec pt)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |