Public Methods
-
Line2D()
-
~Line2D()
-
inline void SetVertexs(const Vector2D& from, const Vector2D& to)
- void SetColor(double r,double g, double b, double a);
-
inline void SetFrom(const Vector2D& from)
-
inline void SetTo(const Vector2D& to)
-
inline void SetN(unsigned int n)
-
inline void SetType(unsigned int t)
-
int LoadXML(char* file_name)
- Load a line from a XML file.
-
int ParseXML(xmlDocPtr doc, xmlNodePtr cur)
-
void glDraw()
-
void Out(char* c) const
Private Fields
-
Vector2D From
-
Vector2D To
-
unsigned int type
- float color[4];
-
unsigned int N
- DASHED 1
Private Methods
-
void DrawDashedLine() const
- number of divisions in type DASHED
Documentation
- Line2D()
- ~Line2D()
- inline void SetVertexs(const Vector2D& from, const Vector2D& to)
- void SetColor(double r,double g, double b, double a);
- inline void SetFrom(const Vector2D& from)
- inline void SetTo(const Vector2D& to)
- inline void SetN(unsigned int n)
- inline void SetType(unsigned int t)
- int LoadXML(char* file_name)
- Load a line from a XML file. (0 if OK, 1 if ERROR)
- int ParseXML(xmlDocPtr doc, xmlNodePtr cur)
- void glDraw()
- void Out(char* c) const
- Vector2D From
- Vector2D To
- unsigned int type
- float color[4];
- unsigned int N
- DASHED 1
- void DrawDashedLine() const
- number of divisions in type DASHED
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.