|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jdsl.geomobj.ref.RatRatRatGeomTests2D
Implementation of interface ThreeArgsGeomTests2D with rational arguments.
Constructor Summary | |
RatRatRatGeomTests2D()
|
Method Summary | |
int |
compareDistances(Point2D q,
Point2D p1,
Point2D p2)
|
int |
leftRightTurn(Point2D p1,
Point2D q,
Point2D p2)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RatRatRatGeomTests2D()
Method Detail |
public int leftRightTurn(Point2D p1, Point2D q, Point2D p2)
leftRightTurn
in interface ThreeArgsGeomTests2D
jdsl.geomobj.api.ThreeArgsGeomTests2D
p1
- a pointq
- a pointp2
- a pointInvalidPointException
- if either p1, or q, or p2 is
Point2D.INFINITEpublic int compareDistances(Point2D q, Point2D p1, Point2D p2)
compareDistances
in interface ThreeArgsGeomTests2D
jdsl.geomobj.api.ThreeArgsGeomTests2D
q
- a pointp1
- a pointp2
- a pointInvalidPointException
- if q is Point2D.INFINITE
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |