class Line2D


Public Methods

[more] Line2D()
[more] ~Line2D()
[more]inline void SetVertexs(const Vector2D& from, const Vector2D& to)
void SetColor(double r,double g, double b, double a);
[more]inline void SetFrom(const Vector2D& from)
[more]inline void SetTo(const Vector2D& to)
[more]inline void SetN(unsigned int n)
[more]inline void SetType(unsigned int t)
[more]int LoadXML(char* file_name)
Load a line from a XML file.
[more]int ParseXML(xmlDocPtr doc, xmlNodePtr cur)
[more]void glDraw()
[more]void Out(char* c) const

Private Fields

[more]Vector2D From
[more]Vector2D To
[more]unsigned int type
float color[4];
[more]unsigned int N
DASHED 1

Private Methods

[more]void DrawDashedLine() const
number of divisions in type DASHED


Documentation

o Line2D()

o ~Line2D()

oinline void SetVertexs(const Vector2D& from, const Vector2D& to)
void SetColor(double r,double g, double b, double a);

oinline void SetFrom(const Vector2D& from)

oinline void SetTo(const Vector2D& to)

oinline void SetN(unsigned int n)

oinline void SetType(unsigned int t)

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

oint ParseXML(xmlDocPtr doc, xmlNodePtr cur)

ovoid glDraw()

ovoid Out(char* c) const

oVector2D From

oVector2D To

ounsigned int type
float color[4];

ounsigned int N
DASHED 1

ovoid 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++.