Class Cartesian.C_Point
All Packages Class Hierarchy This Package Previous Next Index
Class Cartesian.C_Point
java.lang.Object
|
+----Cartesian.C_Shape
|
+----Cartesian.C_Point
- public class C_Point
- extends C_Shape
The C_Point class provides a point with Cartesian coordinates.
- See Also:
- Cartesian
-
C_Point(int, int)
- The constructor receives the X and Y Cartesian coordinates of
the point.
-
X()
- This method returns the X coordinate of the point.
-
Y()
- This method returns the Y coordinate of the point.
C_Point
public C_Point(int X,
int Y)
- The constructor receives the X and Y Cartesian coordinates of
the point.
- Parameters:
- X - The X coordinate
- Y - The Y coordinate
X
public int X()
- This method returns the X coordinate of the point.
- Returns:
- The X coordinate
Y
public int Y()
- This method returns the Y coordinate of the point.
- Returns:
- The Y coordinate
All Packages Class Hierarchy This Package Previous Next Index