Host Graphics Now
Cartesian Points
John's Home Page

Points
The Cartesian package includes a C_Point defined class, which holds the point's x and y values.  The constructor for C_Point has two arguments which are the x and y locations of the point.  To create a C_Point with coordinates of (50, 100), first declare a variable of type C_Point
C_Point Begin;
and then call the constructor
Begin = new C_Point (50, 100);
or do both simultaneously:
C_Point End = new C_Point (80, 30);
See Also:
Cartesian Class
C_Point Class

Cartesian Index
Go To Graphics Now Home Page
©1999, J.H.Young E-Mail Me

1