cz.cuni.utils.math.extended
Class Line2DExtended
java.lang.Object
cz.cuni.utils.math.Line2D
cz.cuni.utils.math.extended.Line2DExtended
public class Line2DExtended
- extends Line2D
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
Line2DExtended
public Line2DExtended(Tuple2D iDirection,
Tuple2D iPoint)
countHashCode
protected int countHashCode()
line2D
public static Line2DExtended line2D(Tuple2D pointA,
Tuple2D pointB)
toString
public java.lang.String toString()
- Overrides:
toString
in class Line2D
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object