|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.aims.AimsLine
| Constructor Summary | |
AimsLine()
Do not use. |
|
AimsLine(AimsPoint startPoint,
AimsPoint endPoint)
Creates new AimsLine |
|
| Method Summary | |
java.lang.Object |
clone()
|
boolean |
equals(AimsLine line)
|
AimsPoints |
getCrossings(AimsRing ring)
|
AimsPoint |
getEndPoint()
|
AimsPoint |
getIntersection(AimsLine line)
|
double |
getLength()
Gets the length of the line. |
AimsPoint |
getStartPoint()
|
boolean |
intersects(AimsLine line)
Tests if the line segment in the argument intersects this line. |
void |
offsetBy(AimsPoint offset)
Offsets the points in the line by the x and y in a point. |
int |
relativeCCW(double X1,
double Y1,
double X2,
double Y2,
double PX,
double PY)
Returns an indicator of where the specified point (PX, PY) lies with respect to the line segment from (X1, Y1) to (X2, Y2). |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AimsLine()
public AimsLine(AimsPoint startPoint,
AimsPoint endPoint)
| Method Detail |
public double getLength()
public void offsetBy(AimsPoint offset)
offset - An AimsPoint object containing the offset.public AimsPoint getStartPoint()
public AimsPoint getEndPoint()
public AimsPoints getCrossings(AimsRing ring)
public int relativeCCW(double X1,
double Y1,
double X2,
double Y2,
double PX,
double PY)
public boolean intersects(AimsLine line)
line - The line to compare.
public AimsPoint getIntersection(AimsLine line)
public boolean equals(AimsLine line)
public java.lang.Object clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||