cz.cuni.utils.math
Class HalfLine2D
java.lang.Object
cz.cuni.utils.math.HalfLine2D
public class HalfLine2D
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
pointBegin
public Tuple2D pointBegin
pointDirection
public Tuple2D pointDirection
direction
public Tuple2D direction
HalfLine2D
public HalfLine2D(Tuple2D iPointBegin,
Tuple2D iPointDirection)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
inHalfLine
public boolean inHalfLine(Tuple2D testedPoint)
- Test wether point lies inside a half line.
- Parameters:
testedPoint
-
inHalfLine
public boolean inHalfLine(Tuple2D testedPoint,
double precision)