org.gvsig.fmap.geom.primitive

Interface Curve

• All Superinterfaces:
Comparable, Geometry, OrientableCurve, OrientablePrimitive, Primitive, Serializable, Shape
All Known Subinterfaces:
Arc, Circumference, Line, PeriEllipse, Spline
All Known Implementing Classes:
AbstractArc, Arc2D, Arc2D, Arc2DZ, Arc2DZ, Circumference2D, Circumference2DZ, DefaultCurve, Line2D, Line2D, Line2DM, Line2DZ, Line3D, Line3DM, PeriEllipse2D, PeriEllipse2DZ, Spline2D, Spline2D, Spline2DM, Spline2DZ, Spline3D, Spline3DM

public interface Curve
extends OrientableCurve

This interface is equivalent to the GM_Curve and the GM_CurveSegment specified in ISO 19107. Curve is a descendent subtype of Primitive through OrientablePrimitive. It is the basis for 1-dimensional geometry.

A curve is a continuous image of an open interval and so could be written as a parameterized function such as c(t):(a, b) -> E^n where "t" is a real parameter and E^n is Euclidean space of dimension n (usually 2 or 3, as determined by the coordinate reference system). Any other parameterization that results in the same image curve, traced in the same direction, such as any linear shifts and positive scales such as e(t) = c(a + t(b-a)):(0,1) -> E^n, is an equivalent representation of the same curve.

Curves are continuous, connected, and have a measurable length in terms of the coordinate system. The orientation of the curve is determined by this parameterization, and is consistent with the tangent function, which approximates the derivative function of the parameterization and shall always point in the "forward" direction. The parameterization of the reversal of the curve defined by c(t):(a, b) -> E^n would be defined by a function of the form s(t) = c(a + b - t):(a, b) - >E^n.

In the ISO model a curve is composed of one or more curve segments. In gvSIG a curve is not composed by curve segments: a curve is one and only one curve segment.