H3D::Arc2D Class Reference
[X3D node classes.]

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. More...

#include <Arc2D.h>

Inheritance diagram for H3D::Arc2D:

Inheritance graph
List of all members.

Public Member Functions

 Arc2D (Inst< SFNode > _metadata=0, Inst< SFBound > _bound=0, Inst< DisplayList > _displayList=0, Inst< MFBool > _isTouched=0, Inst< MFVec3f > _force=0, Inst< MFVec3f > _contactPoint=0, Inst< MFVec3f > _contactNormal=0, Inst< SFFloat > _endAngle=0, Inst< SFFloat > _startAngle=0, Inst< SFFloat > _radius=0)
 Constructor.
virtual void render ()
 Renders the Arc2D using OpenGL.

Public Attributes

auto_ptr< SFFloatendAngle
 The end angle for the arc.
auto_ptr< SFFloatstartAngle
 The start angle for the arc.
auto_ptr< SFFloatradius
 The radius field specifies the radius of the circle of which the arc is a portion.

Static Public Attributes

static H3DNodeDatabase database
 The H3DNodeDatabase for this node.

Classes

class  SFBound
 SFBound is specialized update itself from the radius field of the Box node. More...

Detailed Description

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, 2pi). If startAngle and endAngle have the same value, a circle is specified.

Internal routes:
Arc2D.dot


Member Data Documentation

auto_ptr< SFFloat > H3D::Arc2D::endAngle
 

The end angle for the arc.

The arc extends from the startAngle counterclockwise to the endAngle.

Access type: inputOutput
Default value: pi/2

Arc2D_endAngle.dot

auto_ptr< SFFloat > H3D::Arc2D::radius
 

The radius field specifies the radius of the circle of which the arc is a portion.

Access type: inputOutput
Default value: 1

Arc2D_radius.dot

auto_ptr< SFFloat > H3D::Arc2D::startAngle
 

The start angle for the arc.

The arc extends from the startAngle counterclockwise to the endAngle.

Access type: inputOutput
Default value: 0

Arc2D_startAngle.dot


Generated on Thu Aug 24 12:38:48 2006 for H3D API by  doxygen 1.4.5