Class Nurbs

Applied Stereotypes:
XSDcomplexType

Non-uniform rational b-spline (NURBS) trajectory specification.

Used in:
Shape
Properties
  Name Type Cardinality AppliedStereotypes Description
  order unsignedInt 1..1 XSDattribute Order of the NURBS trajectory. This is the order of the curve, not the degree of the polynomials, which will be one less than the order of the curve. Range: [2..inf[.
  controlPoints ControlPoint 2..* XSDunwrapped, XSDelement Control point vector of the NURBS trajectory. The number of control points must be greater or equal to the order of the curve. It's an ordered list, therefore the first control point determines the start of the trajectory and the last control point determines the end of the trajectory.
  knots Knot 2..* XSDunwrapped, XSDelement Knot vector of the NURBS trajectory. Knot values must be given in ascending order. The number of knot vector values must be equal to the number of control points plus the order of the curve.
XSD 1.3 Representation


<xsd:complexType name="Nurbs">
<xsd:sequence>
<xsd:element name="ControlPoint" type="ControlPoint" minOccurs="2" maxOccurs="unbounded"/>
<xsd:element name="Knot" type="Knot" minOccurs="2" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="order" type="UnsignedInt" use="required"/>
</xsd:complexType>

XSD Transformation
UML Element Stereotype Description
controlPoints XSDunwrapped This property represents an unwrapped list in XSD. The element name 'ControlPoint' is used for the list elements.
knots XSDunwrapped This property represents an unwrapped list in XSD. The element name 'Knot' is used for the list elements.
Stereotype Details Information
  • Class
    • XSDcomplexType [modelGroup: "sequence"; mixed: "false"]
  • Property order
    • XSDattribute
  • Property controlPoints
    • XSDunwrapped [xsdElementName: "ControlPoint"]
    • XSDelement [position: "1"]
  • Property knots
    • XSDunwrapped [xsdElementName: "Knot"]
    • XSDelement [position: "2"]

To XSD