Class ScreenPoint

java.lang.Object
com.j3d.engine.math.BasePoint<Integer>
com.j3d.engine.math.ScreenPoint

public class ScreenPoint extends BasePoint<Integer>
ScreenPoint, not to be confused with CartesianPoint, is a point on the actual screen (window) open. Where (0, 0) is the top left corner of the window.

All 2d points should be calculated in CartesianPoint, but when you want to show it on the screen, converted to a ScreenPoint

Author:
Lehlogonolo Poole
See Also:
  • Constructor Details

    • ScreenPoint

      public ScreenPoint(int X, int Y)
      Default Constructor
      Parameters:
      X - The X-Value
      Y - The Y-Value
  • Method Details