# Difference between revisions of "Arc2D"

From Web3D.org

Abergstrom (Talk | contribs) |
Abergstrom (Talk | contribs) |
||

Line 1: | Line 1: | ||

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

+ | ==Arc2D== | ||

+ | |||

<pre> | <pre> | ||

Arc2D : X3DGeometryNode { | Arc2D : X3DGeometryNode { | ||

Line 9: | 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> | ||

+ | * [[Node Reference]] |

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