@UML(identifier="GM_CurveInterpolation", specification=ISO_19107) public final class CurveInterpolation extends CodeList<CurveInterpolation>
CurveInterpolation
. Subtypes of CurveSegment
can be spawned directly through subclassing, or indirectly by specifying an
interpolation method and an associated control parameters record to support it.Modifier and Type  Field and Description 

static CurveInterpolation 
CIRCULAR_ARC_2_POINTS_WITH_BULGE
For each consecutive pair of control points, the interpolation mechanism shall return
direct positions on a circular arc passing from the first control
point to the second control point, such that the associated control parameter determines the
offset of the center of the arc from the center point of the chord, positive for leftward and
negative for rightward.

static CurveInterpolation 
CIRCULAR_ARC_3_POINTS
For each set of three consecutive control points, the middle one being an even offset from
the beginning of the sequence of control points, the interpolation mechanism shall return
direct positions on a circular arc passing from the first point
through the middle point to the third point.

static CurveInterpolation 
CLOTHOID
Uses a Cornu's spiral or clothoid interpolation.

static CurveInterpolation 
CONIC
Same as elliptical arc but using 5 consecutive control points to
determine a conic section.

static CurveInterpolation 
CUBIC_SPLINE
The control points are interpolated using initial tangents and cubic polynomials, a form of
degree 3 polynomial spline.

static CurveInterpolation 
ELLIPTICAL
For each set of four consecutive control points, the interpolation mechanism shall return
direct positions on an elliptical arc passing from the first
control point through the middle control points in order to the fourth control point.

static CurveInterpolation 
GEODESIC
The interpolation mechanism shall return direct positions on a
geodesic curve between each consecutive pair of control points.

static CurveInterpolation 
LINEAR
The interpolation mechanism shall return direct positions on a
straight line between each consecutive pair of control points.

static CurveInterpolation 
POLYNOMIAL_SPLINE
The control points are ordered as in a linestring, but they are spanned by a polynomial
spline function.

static CurveInterpolation 
RATIONAL_SPLINE
The control points are ordered as in a line string, but they are spanned by a rational
(quotient of polynomials) spline function.

Modifier and Type  Method and Description 

CurveInterpolation[] 
family()
Returns the list of enumerations of the same kind than this enum.

static CurveInterpolation 
valueOf(String code)
Returns the curve interpolation that matches the given string, or returns a new one if none
match it.

static CurveInterpolation[] 
values()
Returns the list of
CurveInterpolation s. 
@UML(identifier="linear", obligation=CONDITIONAL, specification=ISO_19107) public static final CurveInterpolation LINEAR
@UML(identifier="geodesic", obligation=CONDITIONAL, specification=ISO_19107) public static final CurveInterpolation GEODESIC
@UML(identifier="circularArc3Points", obligation=CONDITIONAL, specification=ISO_19107) public static final CurveInterpolation CIRCULAR_ARC_3_POINTS
@UML(identifier="circularArc2PointWithBulge", obligation=CONDITIONAL, specification=ISO_19107) public static final CurveInterpolation CIRCULAR_ARC_2_POINTS_WITH_BULGE
@UML(identifier="elliptical", obligation=CONDITIONAL, specification=ISO_19107) public static final CurveInterpolation ELLIPTICAL
@UML(identifier="clothoid", obligation=CONDITIONAL, specification=ISO_19107) public static final CurveInterpolation CLOTHOID
@UML(identifier="conic", obligation=CONDITIONAL, specification=ISO_19107) public static final CurveInterpolation CONIC
@UML(identifier="polynomialSpline", obligation=CONDITIONAL, specification=ISO_19107) public static final CurveInterpolation POLYNOMIAL_SPLINE
@UML(identifier="cubicSpline", obligation=CONDITIONAL, specification=ISO_19107) public static final CurveInterpolation CUBIC_SPLINE
@UML(identifier="rationalSpline", obligation=CONDITIONAL, specification=ISO_19107) public static final CurveInterpolation RATIONAL_SPLINE
public static CurveInterpolation[] values()
CurveInterpolation
s.public CurveInterpolation[] family()
family
in class CodeList<CurveInterpolation>
public static CurveInterpolation valueOf(String code)
code
 The name of the code to fetch or to create.Copyright © 1996–2023 Geotools. All rights reserved.