Difference between revisions of "Coordinate"

From Web3D.org
Jump to: navigation, search
 
 
Line 3: Line 3:
  
 
<pre>
 
<pre>
CADAssembly : X3DGroupingNode, X3DProductStructureChildNode {
+
Coordinate : X3DCoordinateNode {  
  MFNode  [in]    addChildren
+
   SFNode [in,out] metadata NULL   [X3DMetadataObject]
  MFNode  [in]    removeChildren
+
   MFVec3f [in,out] point    [NULL] (-∞,∞)
  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.
 
  
 +
This node defines a set of 3D coordinates to be used in the ''coord'' field of vertex-based geometry nodes including:
  
The ''children'' field can contain X3DProductStructureChildNode types. Each child will be either a sub-assembly or a part.
+
  1. IndexedFaceSet
 +
  2. IndexedLineSet
 +
  3. IndexedTriangleFanSet
 +
  4. IndexedTriangleSet
 +
  5. IndexedTriangleStripSet
 +
  6. PointSet
 +
  7. TriangleFanSet
 +
  8. TriangleSet
 +
  9. TriangleStripSet
  
 
The ''name'' field documents the name of this CADAssembly.
 
  
 
* [[Node Reference]]
 
* [[Node Reference]]

Latest revision as of 23:07, 1 February 2006

Coordinate

Coordinate : X3DCoordinateNode { 
  SFNode  [in,out] metadata NULL   [X3DMetadataObject]
  MFVec3f [in,out] point    [NULL] (-∞,∞)
}

This node defines a set of 3D coordinates to be used in the coord field of vertex-based geometry nodes including:

  1. IndexedFaceSet
  2. IndexedLineSet
  3. IndexedTriangleFanSet
  4. IndexedTriangleSet
  5. IndexedTriangleStripSet
  6. PointSet
  7. TriangleFanSet
  8. TriangleSet
  9. TriangleStripSet