Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Java only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
Java
Point2D.Double
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
tomasson15
New Member
Join Date:
Sep 2005
Posts:
1
#1
Point2D.Double
Sep 13 '05, 03:47 AM
how do i use this class to create 2 coordinates x and y ?
and the point p1 (x, y) be created ?
UniDyne
New Member
Join Date:
Oct 2005
Posts:
18
#2
Oct 6 '05, 02:14 PM
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
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment