cz.cuni.utils.math
Class HalfLine3D

java.lang.Object
  extended by cz.cuni.utils.math.HalfLine3D

public class HalfLine3D
extends java.lang.Object


Field Summary
 Tuple3D direction
           
 Tuple3D pointBegin
           
 Tuple3D pointDirection
           
 
Constructor Summary
HalfLine3D(Tuple3D iPointBegin, Tuple3D iPointDirection)
           
 
Method Summary
 boolean inHalfLine(Tuple3D testedPoint)
          Test wether point lies inside a half line.
 boolean inHalfLine(Tuple3D testedPoint, double precision)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

direction

public Tuple3D direction

pointBegin

public Tuple3D pointBegin

pointDirection

public Tuple3D pointDirection
Constructor Detail

HalfLine3D

public HalfLine3D(Tuple3D iPointBegin,
                  Tuple3D iPointDirection)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

inHalfLine

public boolean inHalfLine(Tuple3D testedPoint)
Test wether point lies inside a half line.

Parameters:
testedPoint -

inHalfLine

public boolean inHalfLine(Tuple3D testedPoint,
                          double precision)