class Circle2D


Public Methods

[more] Circle2D()
[more] ~Circle2D()
[more]inline void SetCenter(const Vector2D& c)
void SetColor(double r,double g, double b, double a);
[more]inline void SetRadius(const float& r)
[more]inline void SetAngles(const float& a0, const float& a1)
[more]inline void SetType(unsigned int t)
[more]inline void SetN_div(unsigned int n)
[more]int LoadXML(char* file_name)
Load a circle2D from a XML file.
[more]int ParseXML(xmlDocPtr doc, xmlNodePtr cur)
[more]void glDraw()
[more]void Out(char* c) const

Private Fields

[more]Vector2D Center
[more]float R
[more]float angles[2]
[more]unsigned int type
float color[4];
[more]unsigned int N_div
1: arc: (from angle[0] to angle[1] in counterclockwise direction)


Documentation

o Circle2D()

o ~Circle2D()

oinline void SetCenter(const Vector2D& c)
void SetColor(double r,double g, double b, double a);

oinline void SetRadius(const float& r)

oinline void SetAngles(const float& a0, const float& a1)

oinline void SetType(unsigned int t)

oinline void SetN_div(unsigned int n)

oint LoadXML(char* file_name)
Load a circle2D from a XML file. (0 if OK, 1 if ERROR)

oint ParseXML(xmlDocPtr doc, xmlNodePtr cur)

ovoid glDraw()

ovoid Out(char* c) const

oVector2D Center

ofloat R

ofloat angles[2]

ounsigned int type
float color[4];

ounsigned int N_div
1: arc: (from angle[0] to angle[1] in counterclockwise direction)


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.