# 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> | ||

+ | <img src="http://www.web3d.org/x3d/specifications/ISO-IEC-19775-X3DAbstractSpecification/Images/Arc2DNode.gif"> | ||

* [[Node Reference]] | * [[Node Reference]] |

## Revision as of 00:07, 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.

<img src="http://www.web3d.org/x3d/specifications/ISO-IEC-19775-X3DAbstractSpecification/Images/Arc2DNode.gif">