cz.cuni.utils.math.extended
Class Line3DExtended
java.lang.Object
cz.cuni.utils.math.Line3D
cz.cuni.utils.math.extended.Line3DExtended
public class Line3DExtended
- extends Line3D
Against of Line3D has advntage that the same line
has the same values of 'direction' and 'point'
so it's hashable.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
hashCode
public final int hashCode
Line3DExtended
public Line3DExtended(Line3D line)
Line3DExtended
public Line3DExtended(Tuple3D iDirection,
Tuple3D iPoint)
initLine
protected void initLine()
- Called by constructors only!
countHashCode
protected int countHashCode()
equals
public boolean equals(Line3DExtended line)
- Overrides:
equals
in class Line3D
line3D
public static Line3DExtended line3D(Tuple3D pointA,
Tuple3D pointB)
toString
public java.lang.String toString()
- Overrides:
toString
in class Line3D
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object