Class TPoint

java.lang.Object
cammons.TPoint

public class TPoint extends Object
  • Field Details

    • x

      public int x
    • y

      public int y
    • z

      public int z
    • byX

      public static Comparator byX
    • byY

      public static 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 String toString()
      Overrides:
      toString in class Object
    • distance2D

      public double distance2D(TPoint p)
    • getLeft

      public int getLeft()
    • getTop

      public int getTop()
    • clone

      public Object clone()
      Overrides:
      clone in class Object