Point2D.Double

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tomasson15
    New Member
    • Sep 2005
    • 1

    Point2D.Double

    how do i use this class to create 2 coordinates x and y ?
    and the point p1 (x, y) be created ?
  • UniDyne
    New Member
    • Oct 2005
    • 18

    #2
    Simple. Assuming x and y are already initialized doubles containing the x and y coordinates respectively:

    Code:
    Point2D.Double p1 = new Point2D.Double(x, y);
    Try reading the JavaDoc before posting.

    Comment

    Working...