org.opengis.spatialschema.geometry.geometry
Interface CubicSpline
-
- All Superinterfaces:
- CurveSegment, GenericCurve, PolynomialSpline, SplineCurve
@UML(identifier="GM_CubicSpline", specification=ISO_19107) public interface CubicSpline extends PolynomialSpline
Cubic splines. Cubic splines are similar to line strings in that they are a sequence of segments each with its own defining function. A cubic spline uses the control points and a set of derivative parameters to define a piecewise 3rd degree polynomial interpolation. Unlike line-strings, the parameterization by arc length is not necessarily still a polynomial. Splines have two parameterizations that are used in this specification, the defining one (constructive parameter) and the one that has been reparameterized by arc length to satisfy the requirements inGenericCurve.The function describing the curve must be C2, that is, have a continuous 1st and 2nd derivative at all points, and pass through the control points in the order given. Between the control points, the curve segment is defined by a cubic polynomial. At each control point, the polynomial changes in such a manner that the 1st and 2nd derivative vectors are the same from either side. The control parameters record must contain
vectorAtStart, andvectorAtEndwhich are the unit tangent vectors atcontrolPoint[0]andcontrolPoint[n] where n =controlPoint.length-1.- Since:
- GeoAPI 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description CurveInterpolationgetInterpolation()The interpolation mechanism for aCubicSplineisCUBIC_SPLINE.java.util.ListgetVectorAtEnd()The values used for the final derivative.java.util.ListgetVectorAtStart()The values used for the initial derivative.-
Methods inherited from interface org.opengis.spatialschema.geometry.geometry.SplineCurve
getControlPoints, getDegree, getKnots
-
Methods inherited from interface org.opengis.spatialschema.geometry.primitive.CurveSegment
getBoundary, getCurve, getNumDerivativesAtEnd, getNumDerivativesAtStart, getNumDerivativesInterior, getSamplePoints, reverse
-
Methods inherited from interface org.opengis.spatialschema.geometry.geometry.GenericCurve
asLineString, forConstructiveParam, forParam, getEndConstructiveParam, getEndParam, getEndPoint, getParamForPoint, getStartConstructiveParam, getStartParam, getStartPoint, getTangent, length, length
-
-
-
-
Method Detail
-
getInterpolation
@UML(identifier="interpolation", obligation=MANDATORY, specification=ISO_19107) CurveInterpolation getInterpolation()
The interpolation mechanism for aCubicSplineisCUBIC_SPLINE.- Specified by:
getInterpolationin interfaceCurveSegment- Specified by:
getInterpolationin interfacePolynomialSpline- Returns:
- The interpolation mechanism used for this segment.
-
getVectorAtStart
@UML(identifier="vectorAtStart", obligation=MANDATORY, specification=ISO_19107) java.util.List getVectorAtStart()
The values used for the initial derivative. The restriction onvectorAtStartandvectorAtEndreduce these sequences to a single tangent vector each. Consequently, the size of the returned list is 1.- Specified by:
getVectorAtStartin interfacePolynomialSpline
-
getVectorAtEnd
@UML(identifier="vectorAtEnd", obligation=MANDATORY, specification=ISO_19107) java.util.List getVectorAtEnd()
The values used for the final derivative. The restriction onvectorAtStartandvectorAtEndreduce these sequences to a single tangent vector each. Consequently, the size of the returned list is 1.- Specified by:
getVectorAtEndin interfacePolynomialSpline
-
-
DataMelt 3.0 © DataMelt by jWork.ORG