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

The Circle2D node specifies a circle centred at (0,0) in the local 2D coordinate system. More...

#include <H3D/Circle2D.h>

Inheritance diagram for H3D::Circle2D:

Inheritance graph

List of all members.

Classes

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

Public Member Functions

 Circle2D (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 > _radius=0)
 Constructor.
virtual void render ()
 Renders the Circle2D using OpenGL.
virtual int nrLines ()
 The number of lines rendered by this geometry.

Public Attributes

auto_ptr< SFFloatradius
 The radius field specifies the radius of the circle.

Static Public Attributes

static H3DNodeDatabase database
 The H3DNodeDatabase for this node.


Detailed Description

The Circle2D node specifies a circle centred at (0,0) in the local 2D coordinate system.

The radius field specifies the radius of the Circle2D. The value of radius shall be greater than zero.

Internal routes:
Circle2D.dot

Member Data Documentation

The radius field specifies the radius of the circle.

Access type: inputOutput
Default value: 1

Circle2D_radius.dot

Referenced by Circle2D(), and render().


The documentation for this class was generated from the following files:

Generated on Fri Nov 7 10:29:27 2008 for H3D API by  doxygen 1.5.7