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)

Inner Class Summary
static class Point2D.InfinitePoint2D
          A nested class, used to implement the constant INFINITE.
 
Inner classes inherited from class jdsl.geomobj.api.GeomObject2D
GeomObject2D.NoneGeomObject2D
 
Field Summary
static Point2D INFINITE
           
 
Fields inherited from interface jdsl.geomobj.api.GeomObject2D
NONE
 
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.
 
Methods inherited from interface jdsl.geomobj.api.GeomObject
arithmeticType, dim
 

Field Detail

INFINITE

public static final Point2D INFINITE
Method Detail

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