jdsl.geomobj.api
Interface GeomObject

All Known Subinterfaces:
Circle2D, ClosedCurve2D, Curve2D, Direction2D, GeomObject2D, Line2D, LinearCurve2D, OpenCurve2D, Point2D, Ray2D, Rectangle2D, Segment2D

public interface GeomObject

Every geometric object interface inherits from this interface.

Version:
$Id: GeomObject.java,v 1.2 2000/03/28 17:55:19 lv Exp $
Author:
Luca Vismara (lv)

Method Summary
 int arithmeticType()
          The arithmetic type of a geometric object is encoded as an integer number.
 int dim()
           
 

Method Detail

dim

public int dim()
Returns:
the dimension of this

arithmeticType

public int arithmeticType()
The arithmetic type of a geometric object is encoded as an integer number. Current legal values are: 0 = an integer geometric object 1 = a rational geometric object
Returns:
the arithmetic type of this