Package jdsl.geomobj.api

This package contains interfaces for basic geometric objects, such as points, linear curves, rectangles, and circles, and for geometric testers and constructors.

See:
          Description

Interface Summary
Circle2D This interface describes a two-dimensional circle.
ClosedCurve2D Closed curves are curves that are closed and have a well-defined interior and exterior.
Curve2D Interface describing a simple curve, that is a curve that does not intersect itself.
Direction2D This interface describes a two-dimensional direction.
GeomConstructor2D A collection of methods that construct geometric objects.
GeomObject Every geometric object interface inherits from this interface.
GeomObject2D Typing interface
GeomSelector2D A collection of methods for choosing a geometric object according to the result of a geometric test.
GeomTester2D A collection of geometric tests.
Line2D Lines are special open curves with infinite length.
LinearCurve2D Lines are special open curves with infinite length.
OpenCurve2D Open curves have two distinct end points to the curve.
Point2D This interface describes a two-dimensional point.
Ray2D This interface describes a two-dimensional ray.
Rectangle2D This interface describes a two-dimensional rectangle with sides parallel to the x-axis and y-axis.
Segment2D This interface describes a two-dimensional segment.
ThreeArgsGeomTests2D A collection of geometric tests taking three arguments.
TwoArgsGeomTests2D A collection of geometric tests taking two arguments.
 

Class Summary
GeomObject2D.NoneGeomObject2D A nested class used to implement the constant NONE.
Point2D.InfinitePoint2D A nested class, used to implement the constant INFINITE.
 

Exception Summary
GeomException  
InvalidCircleException  
InvalidCoordinateException  
InvalidDirectionException  
InvalidGeomObjectException  
InvalidGeomTestException  
InvalidLinearCurveException  
InvalidPointException  
 

Package jdsl.geomobj.api Description

This package contains interfaces for basic geometric objects, such as points, linear curves, rectangles, and circles, and for geometric testers and constructors. Currently, interfaces have been defined only for two-dimensional geometric objects.
Ideally, geometric programs should never access directly the geometric information of the objects they manipulate, except for visualization purposes. All the geometric tests and constructions should be performed invoking the appropriate methods of GeomTester2D and GeomConstructor2D.