Contour2D

Element Information

Model

Attributes

Used By

Source

<xs:element name="Contour2D">
  <xs:annotation>
    <xs:appinfo>
      <xs:element name="addChildren" type="MFNode" fixed="inputOnlyField" default="NurbsCurve2D|ContourPolyline2D"/>
      <xs:element name="removeChildren" type="MFNode" fixed="inputOnlyField" default="NurbsCurve2D|ContourPolyline2D"/>
      <xs:element name="children" type="MFNode" fixed="inputOutputField" default="NurbsCurve2D|ContourPolyline2D"/>
      <xs:attribute name="componentName" type="xs:NMTOKEN" fixed="NURBS"/>
      <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="4"/>
    </xs:appinfo>
    <xs:documentation source="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/nurbs.html#Contour2D"/>
  </xs:annotation>
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="X3DNode">
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:annotation>
            <xs:documentation>children</xs:documentation>
          </xs:annotation>
          <xs:element ref="NurbsCurve2D"/>
          <xs:element ref="ContourPolyline2D"/>
          <xs:element ref="ProtoInstance">
            <xs:annotation>
              <xs:documentation>Appropriately typed substitution node</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:choice>
        <xs:attribute name="containerField" type="xs:NMTOKEN" default="trimmingContour"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

Sample