math
Class Point2D

java.lang.Object
  extended by math.Point2D

public class Point2D
extends java.lang.Object

a 2 dimensional point


Field Summary
 double x
           
 double y
           
 
Constructor Summary
Point2D()
           
Point2D(double x, double y)
          constructor
Point2D(Point2D p)
          copy constructor
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public double x

y

public double y
Constructor Detail

Point2D

public Point2D(double x,
               double y)
constructor

Parameters:
x - [in] x coordinate
y - [in] y coordinate

Point2D

public Point2D()

Point2D

public Point2D(Point2D p)
copy constructor

Parameters:
p - [in] other point