Difference between revisions of "Circle2D"

From Web3D.org
Jump to: navigation, search
 
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
* [[Node Reference]]
 
* [[Node Reference]]
 +
 
==Circle2D==
 
==Circle2D==
 +
 +
Specification Link: [http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/geometry2D.html#Circle2D Circle2D]
  
 
<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.
 
  
 +
==DTD Validation==
 +
 +
===Children===
 +
 +
Children must appear as follows:
 +
 +
# A single, optional IS.
 +
# A single, optional node derived from ''X3DMetadataObject'' for the ''metadata'' field.
 +
 +
===Attributes===
 +
 +
* There are no limits on the acceptable range of values for the ''radius'' field.
 +
 +
==Schema Validation==
 +
 +
===Children===
 +
 +
Children must appear as follows:
 +
 +
# A single, optional IS.
 +
# A single, optional node derived from ''X3DMetadataObject'' for the ''metadata'' field.
 +
 +
===Attributes===
  
The ''children'' field can contain X3DProductStructureChildNode types. Each child will be either a sub-assembly or a part.
+
* There ''radius'' field is restricted to positive values, i.e. greater than or equal to zero.
  
 +
==Schematron validation==
  
The ''name'' field documents the name of this CADAssembly.
+
TBD
  
 
* [[Node Reference]]
 
* [[Node Reference]]

Latest revision as of 07:38, 7 May 2015

Circle2D

Specification Link: Circle2D

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

DTD Validation

Children

Children must appear as follows:

  1. A single, optional IS.
  2. A single, optional node derived from X3DMetadataObject for the metadata field.

Attributes

  • There are no limits on the acceptable range of values for the radius field.

Schema Validation

Children

Children must appear as follows:

  1. A single, optional IS.
  2. A single, optional node derived from X3DMetadataObject for the metadata field.

Attributes

  • There radius field is restricted to positive values, i.e. greater than or equal to zero.

Schematron validation

TBD