jdsl.geomobj.api
Interface ClosedCurve2D

All Superinterfaces:
Curve2D, GeomObject, GeomObject2D
All Known Subinterfaces:
Circle2D, Rectangle2D

public interface ClosedCurve2D
extends Curve2D

Closed curves are curves that are closed and have a well-defined interior and exterior. These curves are simple hence we define the curve to have one interior (no need for winding numbers). Self-intersecting (complex) curves will have to be split up into two separate curves.

Version:
$Id: ClosedCurve2D.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[] points()
           
 
Methods inherited from interface jdsl.geomobj.api.GeomObject
arithmeticType, dim
 

Method Detail

points

public Point2D[] points()
Returns:
an array of points defining this; the points are in clockwise order