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

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

gml:BSpline

A B-Spline is a piecewise parametric polynomial or rational curve described in terms of control points and basis functions as specified in ISO 19107:2003, 6.4.30. Therefore, interpolation may be either "polynomialSpline" or "rationalSpline" depending on the interpolation type; default is "polynomialSpline".
degree shall be the degree of the polynomial used for interpolation in this spline.
knot shall be the sequence of distinct knots used to define the spline basis functions (see ISO 19107:2003, 6.4.26.2).
The attribute isPolynomial shall be set to "true" if this is a polynomial spline (see ISO 19107:2003, 6.4.30.5).
The attribute knotType shall provide the type of knot distribution used in defining this spline (see ISO 19107:2003, 6.4.30.4).
The content model follows the general pattern for the encoding of curve segments.

Element information

Type: gml:BSplineType

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:CurveInterpolationTypeDefault value is "polynomialSpline".
isPolynomial [0..1]xsd:boolean
knotType [0..1]gml:KnotTypesType

Used in

Substitution hierarchy

Sample instance

<gml:BSpline>
   <gml:pos>1.0 1.0</gml:pos>
   <gml:degree>1</gml:degree>
   <gml:knot>
      <gml:Knot>
         <gml:value>1.0</gml:value>
         <gml:multiplicity>1</gml:multiplicity>
         <gml:weight>1.0</gml:weight>
      </gml:Knot>
   </gml:knot>
</gml:BSpline>