All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class primitives.geomtry.ExtPoint

java.lang.Object
   |
   +----java.awt.Point
           |
           +----primitives.geomtry.ExtPoint

public class ExtPoint
extends Point
The ExtPoint adds the capability to cast a Point object to a Coordinate object


Constructor Index

 o ExtPoint(int, int)
Constructs and initializes an ExtPoint at the specified (xy) location in integer values in the coordinate space.

Method Index

 o toCoordinate()
Returns a Coordinate object with the same location as this point.

Constructors

 o ExtPoint
 public ExtPoint(int x,
                 int y)
Constructs and initializes an ExtPoint at the specified (xy) location in integer values in the coordinate space.

Parameters:
x - the x coordinate.
y - the y coordinate.

Methods

 o toCoordinate
 public Coordinate toCoordinate()
Returns a Coordinate object with the same location as this point.

Returns:
a Coordinate representation of this point.

All Packages  Class Hierarchy  This Package  Previous  Next  Index