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

Constructor Index

 o C_Point(int, int)
The constructor receives the X and Y Cartesian coordinates of the point.

Method Index

 o X()
This method returns the X coordinate of the point.
 o Y()
This method returns the Y coordinate of the point.

Constructors

 o 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

Methods

 o X
  public int X()
This method returns the X coordinate of the point.
Returns:
The X coordinate
 o 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
1