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

The ArcClose node specifies a portion of a circle 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 <ArcClose2D.h>

Inheritance diagram for H3D::ArcClose2D:

Inheritance graph
List of all members.

Public Member Functions

 ArcClose2D (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, Inst< SFString > _closureType=0, Inst< SFBool > _solid=0)
 Constructor.
virtual void render ()
 Renders the ArcClose2D using OpenGL.

Public Attributes

auto_ptr< SFFloatendAngle
 The end angle for the ArcClose.
auto_ptr< SFFloatstartAngle
 The start angle for the ArcClose.
auto_ptr< SFFloatradius
 The radius field specifies the radius of the circle of which the ArcClose is a portion.
auto_ptr< SFStringclosureType
 A closureType of "PIE" connects the end point to the start point by defining two straight line segments first from the end point to the center and then the center to the start point.
auto_ptr< SFBoolsolid
 The solid field specifies if both sides of the closed arc should be rendered.

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 ArcClose node specifies a portion of a circle 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 end points of the arc specified are connected as defined by the closureType field. 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 and closureType is ignored.

A closureType of "PIE" connects the end point to the start point by defining two straight line segments first from the end point to the center and then the center to the start point.

A closureType of "CHORD" connects the end point to the start point by defining a straight line segment from the end point to the start point.

Internal routes:
ArcClose2D.dot


Member Data Documentation

auto_ptr< SFString > H3D::ArcClose2D::closureType
 

A closureType of "PIE" connects the end point to the start point by defining two straight line segments first from the end point to the center and then the center to the start point.

A closureType of "CHORD" connects the end point to the start point by defining a straight line segment from the end point to the start point.

Access type: inputOutput

ArcClose2D_closureType.dot

auto_ptr< SFFloat > H3D::ArcClose2D::endAngle
 

The end angle for the ArcClose.

The ArcClose extends from the startAngle counterclockwise to the endAngle.

Access type: inputOutput
Default value: pi/2

ArcClose2D_endAngle.dot

auto_ptr< SFFloat > H3D::ArcClose2D::radius
 

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

Access type: inputOutput
Default value: 1

ArcClose2D_radius.dot

auto_ptr< SFBool > H3D::ArcClose2D::solid
 

The solid field specifies if both sides of the closed arc should be rendered.

If solid is FALSE then both sides will be rendered.

Access type: inputOutput
Default value: FALSE

ArcClose2D_solid.dot

auto_ptr< SFFloat > H3D::ArcClose2D::startAngle
 

The start angle for the ArcClose.

The ArcClose extends from the startAngle counterclockwise to the endAngle.

Access type: inputOutput
Default value: 0

ArcClose2D_startAngle.dot


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