Package org.openni

Class Point2D<T>

java.lang.Object
org.openni.Point2D<T>

public class Point2D<T> extends Object
The Point2D object encapsulate 2 Dimension point
  • Constructor Details

    • Point2D

      public Point2D(T x, T y)
      The Point2D constructor
      Parameters:
      x - coordinate of the point
      y - coordinate of the point
  • Method Details

    • getX

      public T getX()
      Return X coordinate
      Returns:
      X coordinate
    • getY

      public T getY()
      Return X coordinate
      Returns:
      X coordinate