Difference between revisions of "Contour2D"

From Web3D.org
Jump to: navigation, search
(Contour2D)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
* [[Node Reference]]
 
* [[Node Reference]]
 
==Contour2D==
 
==Contour2D==
 +
 +
Specification Link: [http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/nurbs.html#Contour2D Contour2D]
  
 
<pre>
 
<pre>
 
Contour2D : X3DNode {  
 
Contour2D : X3DNode {  
   MFNode [in]    addChildren        [NurbsCurve|ContourPolyline2D]
+
   MFNode [in]    addChildren        [NurbsCurve2D|ContourPolyline2D]
   MFNode [in]    removeChildren      [NurbsCurve|ContourPolyline2D]
+
   MFNode [in]    removeChildren      [NurbsCurve2D|ContourPolyline2D]
   MFNode [in,out] children      []  [NurbsCurve|ContourPolyline2D]
+
   MFNode [in,out] children      []  [NurbsCurve2D|ContourPolyline2D]
 
   SFNode [in,out] metadata      NULL [X3DMetadataObject]
 
   SFNode [in,out] metadata      NULL [X3DMetadataObject]
 
}
 
}
 
</pre>
 
</pre>
  
The Contour2D node groups a set of curve segments to a composite contour. The children shall form a closed loop with the first point of the first child repeated as the last point of the last child and the last point of a segment repeated as the first point of the consecutive one. The segments shall be defined by concrete nodes that implement the X3DNurbsControlCurveNode abstract type nodes and shall be enumerated in the ''children'' field in consecutive order according to the topology of the contour.
+
==DTD Validation==
 +
 
 +
TBD
 +
 
 +
==Schema Validation==
  
 +
TBD
  
The 2D coordinates used by the node shall be interpreted to lie in the (u, v) coordinate space defined by the NURBS surface.
+
==Schematron validation==
  
 +
TBD
 
* [[Node Reference]]
 
* [[Node Reference]]

Latest revision as of 10:52, 13 April 2015

Contour2D

Specification Link: Contour2D

Contour2D : X3DNode { 
  MFNode [in]     addChildren         [NurbsCurve2D|ContourPolyline2D]
  MFNode [in]     removeChildren      [NurbsCurve2D|ContourPolyline2D]
  MFNode [in,out] children       []   [NurbsCurve2D|ContourPolyline2D]
  SFNode [in,out] metadata       NULL [X3DMetadataObject]
}

DTD Validation

TBD

Schema Validation

TBD

Schematron validation

TBD