Public Methods
-
Circle2D()
-
~Circle2D()
-
inline void SetCenter(const Vector2D& c)
- void SetColor(double r,double g, double b, double a);
-
inline void SetRadius(const float& r)
-
inline void SetAngles(const float& a0, const float& a1)
-
inline void SetType(unsigned int t)
-
inline void SetN_div(unsigned int n)
-
int LoadXML(char* file_name)
- Load a circle2D from a XML file.
-
int ParseXML(xmlDocPtr doc, xmlNodePtr cur)
-
void glDraw()
-
void Out(char* c) const
Private Fields
-
Vector2D Center
-
float R
-
float angles[2]
-
unsigned int type
- float color[4];
-
unsigned int N_div
- 1: arc: (from angle[0] to angle[1] in counterclockwise direction)
Documentation
Circle2D()
~Circle2D()
inline void SetCenter(const Vector2D& c)
- void SetColor(double r,double g, double b, double a);
inline void SetRadius(const float& r)
inline void SetAngles(const float& a0, const float& a1)
inline void SetType(unsigned int t)
inline void SetN_div(unsigned int n)
int LoadXML(char* file_name)
- Load a circle2D from a XML file. (0 if OK, 1 if ERROR)
int ParseXML(xmlDocPtr doc, xmlNodePtr cur)
void glDraw()
void Out(char* c) const
Vector2D Center
float R
float angles[2]
unsigned int type
- float color[4];
unsigned 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++.