Difference between revisions of "Arc2D"

From Web3D.org
Jump to: navigation, search
Line 39: Line 39:
 
===Attributes===
 
===Attributes===
  
* There ''endAngle'' field is restricted to values between ±6.283185.
+
* There ''endAngle'' field is restricted to values between ±6.283185307.
 
* There ''radius'' field is restricted to non-negative values, i.e. greater than zero.
 
* There ''radius'' field is restricted to non-negative values, i.e. greater than zero.
* There ''startAngle'' field is restricted to values between ±6.283185.
+
* There ''startAngle'' field is restricted to values between ±6.283185307.
  
 
==Schematron validation==
 
==Schematron validation==

Revision as of 08:36, 20 April 2015

Arc2D

Specification Link: Arc2D

Arc2D : X3DGeometryNode { 
  SFNode  [in,out] metadata   NULL  [X3DMetadataObject]
  SFFloat []       endAngle   π/2   [-2π,2π]
  SFFloat []       radius     1     (0,∞)
  SFFloat []       startAngle 0     [-2π,2π]
}

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 endAngle field.
  • There are no limits on the acceptable range of values for the radius field.
  • There are no limits on the acceptable range of values for the startAngle 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 endAngle field is restricted to values between ±6.283185307.
  • There radius field is restricted to non-negative values, i.e. greater than zero.
  • There startAngle field is restricted to values between ±6.283185307.

Schematron validation

TBD