jdsl.geomobj.api
Interface Point2D
- All Superinterfaces:
- GeomObject, GeomObject2D
- All Known Implementing Classes:
- Point2D.InfinitePoint2D, RealPoint2D, IntPoint2D, RatPoint2D
- public interface Point2D
- extends GeomObject2D
This interface describes a two-dimensional point. Geometric tests
should be performed through methods of GeomTester2D.
- Version:
- $Id: Point2D.java,v 1.5 2000/04/08 18:08:22 lv Exp $
- Author:
- Luca Vismara (lv)
Method Summary |
double |
x()
This approximate method is provided for visualization purposes
only; computations should be performed through methods of
GeomTester2D. |
double |
y()
This approximate method is provided for visualization purposes
only; computations should be performed through methods of
GeomTester2D. |
INFINITE
public static final Point2D INFINITE
x
public double x()
- This approximate method is provided for visualization purposes
only; computations should be performed through methods of
GeomTester2D.
- Returns:
- a double approximation of the x coordinate of this
y
public double y()
- This approximate method is provided for visualization purposes
only; computations should be performed through methods of
GeomTester2D.
- Returns:
- a double approximation of the y coordinate of this