Schema Central > niem40 > geometryPrimitives.xsd > gml:CubicSpline
Advanced search
Need NIEM Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

gml:CubicSpline

The number of control points shall be at least three.
vectorAtStart is the unit tangent vector at the start point of the spline. vectorAtEnd is the unit tangent vector at the end point of the spline. Only the direction of the vectors shall be used to determine the shape of the cubic spline, not their length.
interpolation is fixed as "cubicSpline".
degree shall be the degree of the polynomial used for the interpolation in this spline. Therefore the degree for a cubic spline is fixed to "3".
The content model follows the general pattern for the encoding of curve segments.

Element information

Type: gml:CubicSplineType

Properties: Global, Qualified

Content

Attributes

NameOccTypeDescriptionNotes
numDerivativesAtStart [0..1]xsd:integerDefault value is "0". from type gml:AbstractCurveSegmentType
numDerivativesAtEnd [0..1]xsd:integerDefault value is "0". from type gml:AbstractCurveSegmentType
numDerivativeInterior [0..1]xsd:integerDefault value is "0". from type gml:AbstractCurveSegmentType
interpolation [0..1]gml:CurveInterpolationTypeFixed value is "cubicSpline".
degree [0..1]xsd:integerFixed value is "3".

Used in

Substitution hierarchy

Sample instance

<gml:CubicSpline>
   <gml:pos>1.0 1.0</gml:pos>
   <gml:vectorAtStart>1.0 1.0</gml:vectorAtStart>
   <gml:vectorAtEnd>1.0 1.0</gml:vectorAtEnd>
</gml:CubicSpline>