Difference between revisions of "Circle2D"

From Web3D.org
Jump to: navigation, search
 
Line 3: Line 3:
  
 
<pre>
 
<pre>
CADAssembly : X3DGroupingNode, X3DProductStructureChildNode {
+
Circle2D : X3DGeometryNode {  
  MFNode  [in]    addChildren
+
   SFNode [in,out] metadata NULL [X3DMetadataObject]
  MFNode  [in]    removeChildren
+
   SFFloat []       radius   1     (0,∞)
  MFNode  [in,out] children      []      [X3DProductStructureChildNode]
+
   SFNode   [in,out] metadata       NULL     [X3DMetadataObject]
+
   SFString [in,out] name ""
+
   SFVec3f  []      bboxCenter     0 0 0    (-∞,∞)
+
  SFVec3f  []      bboxSize      -1 -1 -1 [0,∞) or −1 −1 −1
+
 
}
 
}
 
</pre>
 
</pre>
The CADAssembly node holds a set of assemblies or parts grouped together.
 
  
 +
The Circle2D node specifies a circle centred at (0,0) in the local 2D coordinate system.  The ''radius'' field specifies the radius of the Circle2D. The value of radius shall be greater than zero. Figure 1 illustrates the Circle2D node with a dashed linetype applied.
  
The ''children'' field can contain X3DProductStructureChildNode types. Each child will be either a sub-assembly or a part.
+
<center>Figure 1 - Circle2D node<br>
 
+
http://www.web3d.org/x3d/specifications/ISO-IEC-19775-X3DAbstractSpecification/Images/Circle2D.gif</center>
 
+
The ''name'' field documents the name of this CADAssembly.
+
 
+
 
* [[Node Reference]]
 
* [[Node Reference]]

Revision as of 22:37, 1 February 2006

Circle2D

Circle2D : X3DGeometryNode { 
  SFNode  [in,out] metadata NULL  [X3DMetadataObject]
  SFFloat []       radius   1     (0,∞)
}

The Circle2D node specifies a circle centred at (0,0) in the local 2D coordinate system. The radius field specifies the radius of the Circle2D. The value of radius shall be greater than zero. Figure 1 illustrates the Circle2D node with a dashed linetype applied.

Figure 1 - Circle2D node
http://www.web3d.org/x3d/specifications/ISO-IEC-19775-X3DAbstractSpecification/Images/Circle2D.gif