Difference between revisions of "Circle2D"

From Web3D.org
Jump to: navigation, search
 
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>
Line 9: Line 12:
 
</pre>
 
</pre>
  
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.
+
==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===
 +
 
 +
* There ''radius'' field is restricted to positive values, i.e. greater than or equal to zero.
  
<center>Figure 1 - Circle2D node<br> <br>
+
==Schematron validation==
http://www.web3d.org/x3d/specifications/ISO-IEC-19775-X3DAbstractSpecification/Images/Circle2D.gif</center>
+
  
The ''Common geometry fields'' section of the X3D specification provides a complete description of the ''solid'' field.
+
TBD
  
 
* [[Node Reference]]
 
* [[Node Reference]]

Latest revision as of 14: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