csTriangle Struct Reference
[Geometry utilities]
A triangle.
More...
#include <csgeom/tri.h>
Inheritance diagram for csTriangle:
![Inheritance graph](structcsTriangle__inherit__graph.png)
Public Member Functions | |
csTriangle (const csTriangle &t) | |
Copy constructor. | |
csTriangle (int _a, int _b, int _c) | |
Convenience constructor, builds a triangle with initializers. | |
csTriangle () | |
Empty default constructor. | |
csTriangle & | operator= (const csTriangle &t) |
Assignment. | |
void | Set (int _a, int _b, int _c) |
Set the values. | |
Public Attributes | |
int | a |
int | b |
int | c |
Detailed Description
A triangle.Note that this structure is only valid if used in combination with a vertex or edge table. 'a', 'b', and 'c' are then indices in that table (either vertices or edges).
Definition at line 36 of file tri.h.
Constructor & Destructor Documentation
csTriangle::csTriangle | ( | int | _a, | |
int | _b, | |||
int | _c | |||
) | [inline] |
csTriangle::csTriangle | ( | const csTriangle & | t | ) | [inline] |
Member Function Documentation
csTriangle& csTriangle::operator= | ( | const csTriangle & | t | ) | [inline] |
void csTriangle::Set | ( | int | _a, | |
int | _b, | |||
int | _c | |||
) | [inline] |
The documentation for this struct was generated from the following file:
- csgeom/tri.h
Generated for Crystal Space by doxygen 1.4.7