Difference between revisions of "Arc2D"
From Web3D.org
Abergstrom (Talk | contribs) |
Abergstrom (Talk | contribs) |
||
Line 12: | Line 12: | ||
<p>The Arc node specifies a linear circular arc whose center is at (0,0) and whose angles are measured starting at the positive x-axis and sweeping towards the positive y-axis. The radius field specifies the radius of the circle of which the arc is a portion. The arc extends from the startAngle counterclockwise to the endAngle. The value of radius shall be greater than zero. The values of startAngle and endAngle shall be in the range (0, 2π). If startAngle and endAngle have the same value, a circle is specified.</p> | <p>The Arc node specifies a linear circular arc whose center is at (0,0) and whose angles are measured starting at the positive x-axis and sweeping towards the positive y-axis. The radius field specifies the radius of the circle of which the arc is a portion. The arc extends from the startAngle counterclockwise to the endAngle. The value of radius shall be greater than zero. The values of startAngle and endAngle shall be in the range (0, 2π). If startAngle and endAngle have the same value, a circle is specified.</p> | ||
− | <center>http://www.web3d.org/x3d/specifications/ISO-IEC-19775-X3DAbstractSpecification/Images/Arc2DNode.gif<br>Figure 1 - Arc2D node</center> | + | <center>http://www.web3d.org/x3d/specifications/ISO-IEC-19775-X3DAbstractSpecification/Images/Arc2DNode.gif<br>Figure 1 - Arc2D node depiction</center> |
* [[Node Reference]] | * [[Node Reference]] |
Revision as of 08:10, 28 January 2006
Arc2D
Arc2D : X3DGeometryNode { SFNode [in,out] metadata NULL [X3DMetadataObject] SFFloat [] endAngle π/2 [-2π,2π] SFFloat [] radius 1 (0,∞) SFFloat [] startAngle 0 [-2π,2π] }
The Arc node specifies a linear circular arc whose center is at (0,0) and whose angles are measured starting at the positive x-axis and sweeping towards the positive y-axis. The radius field specifies the radius of the circle of which the arc is a portion. The arc extends from the startAngle counterclockwise to the endAngle. The value of radius shall be greater than zero. The values of startAngle and endAngle shall be in the range (0, 2π). If startAngle and endAngle have the same value, a circle is specified.
Figure 1 - Arc2D node depiction