Package cammons
Class TPoint
java.lang.Object
cammons.TPoint
public class TPoint
extends java.lang.Object
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
x
public int x -
y
public int y -
z
public int z -
byX
public static java.util.Comparator byX -
byY
public static java.util.Comparator byY
-
-
Constructor Details
-
TPoint
public TPoint()Creates a new instance of TPoint -
TPoint
public TPoint(int x, int y) -
TPoint
public TPoint(int x, int y, int z)
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
distance2D
-
getLeft
public int getLeft() -
getTop
public int getTop() -
clone
public java.lang.Object clone()- Overrides:
clone
in classjava.lang.Object
-