jdsl.geomobj.api
Interface Circle2D

All Superinterfaces:
ClosedCurve2D, Curve2D, GeomObject, GeomObject2D
All Known Implementing Classes:
AbstractCircle2D, RatCircle2D, IntCircle2D

public interface Circle2D
extends ClosedCurve2D

This interface describes a two-dimensional circle. It provides a method that returns a double-precision approximation of the squared radius. Geometric tests should be performed through methods of GeomTester2D.

Version:
$Id: Circle2D.java,v 1.2 2000/03/22 20:22:20 lv Exp $
Author:
Luca Vismara (lv)

Inner classes inherited from class jdsl.geomobj.api.GeomObject2D
GeomObject2D.NoneGeomObject2D
 
Fields inherited from interface jdsl.geomobj.api.GeomObject2D
NONE
 
Method Summary
 Point2D center()
           
 double squaredRadius()
          This approximate method is provided for visualization purposes only; computations should be performed through methods of GeomTester2D.
 
Methods inherited from interface jdsl.geomobj.api.ClosedCurve2D
points
 
Methods inherited from interface jdsl.geomobj.api.GeomObject
arithmeticType, dim
 

Method Detail

center

public Point2D center()
Returns:
the center of this

squaredRadius

public double squaredRadius()
This approximate method is provided for visualization purposes only; computations should be performed through methods of GeomTester2D.
Returns:
a double approximation of the square of the radius of this