Package math.geom2d.curve

Curves interface hierarchy, and implementations of curve sets and various poly-curves.

See:
          Description

Interface Summary
Boundary2D A Boundary2D is the curve which defines the contour of a domain in the plane.
ContinuousBoundary2D a continuous boundary is a continuous oriented curve which delimits a planar domain.
ContinuousCurve2D Interface for all curves which can be drawn with one stroke.
ContinuousOrientedCurve2D Defines a part of the boundary of a planar domain.
Curve2D Interface for all linear and pieces smooth curves : polylines, conics, lines ...
Domain2D Interface for shapes that draws an 'interior' and an 'exterior'.
OrientedCurve2D An OrientedCurve2D defines an 'inside' and an 'outside'.
SmoothCurve2D Interface for smooth and continuous curves.
SmoothOrientedCurve2D  
 

Class Summary
BoundaryPolyCurve2D<T extends ContinuousOrientedCurve2D> A single continuous oriented curve, which defines the boundary of a planar domain.
BoundarySet2D<T extends ContinuousBoundary2D> A BoundarySet2D is a set of continuous oriented curves.
CurveSet2D<T extends Curve2D> A parameterized set of curves.
GeneralPath2D The GeneralPath class represents a geometric path constructed from straight lines, and quadratic and cubic (Bézier) curves.
GenericDomain2D A domain defined from its boundary.
PolyCurve2D<T extends ContinuousCurve2D> A PolyCurve2D is a set of piecewise smooth curve arcs, such that the end of a curve is the beginning of the next curve, and such that they do not intersect nor self-intersect.
PolyOrientedCurve2D<T extends ContinuousOrientedCurve2D> A PolyOrientedCurve2D is a set of piecewise smooth curve arcs, such that the end of a curve is the beginning of the next curve, and such that they do not intersect nor self-intersect.
 

Package math.geom2d.curve Description

Curves interface hierarchy, and implementations of curve sets and various poly-curves.

Contains the definition of Curve2D, the main interface for curves, and several specialisations: ContinuousCurve2D, which is continuous, and SmoothCurve2D, which defines tangent and curvature at each point.

The interface OrientedCurve2D defines curves which can decide whether a point is inside or outside their domain. Continuous and smooth oriented curves are defined by classes ContinuousOrientedCurve and SmoothOrientedCurve2D respectively.

Curves can be combined to form a CurveSet2D. If the curves of curveset are continuous and linked each other, a PolyCurve2D can be used.

Curves can be used to define boundary of domain. Such curves must be instances of BoundaryCurve2D, which are either sets of OrientedCurve2D, or single ContinuousOrientedCurve2D.