
-----------------------------------
Master
Wed Mar 03, 2004 12:42 am

decoding Point2D.Double
-----------------------------------
how do you decode(figure out) the numbers of the x and y coordinates of the point2d.double

Point2D.Double p = new Point2D.Double(2, 15);
how do you now use the variable "p" to figure out the coordinates?

-----------------------------------
wtd
Wed Mar 03, 2004 12:58 am


-----------------------------------

double xCoordinate = p.getX();
double yCoordinate = p.getY();

