Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <IceTriangle.h>
Public Member Functions | |
inline_ | Triangle () |
Constructor. More... | |
inline_ | Triangle (const Point &p0, const Point &p1, const Point &p2) |
Constructor. More... | |
inline_ | Triangle (const Triangle &triangle) |
Copy constructor. More... | |
inline_ | ~Triangle () |
Destructor. More... | |
void | Flip () |
float | Area () const |
float | Perimeter () const |
float | Compacity () const |
void | Normal (Point &normal) const |
void | DenormalizedNormal (Point &normal) const |
void | Center (Point ¢er) const |
inline_ Plane | PlaneEquation () const |
PartVal | TestAgainstPlane (const Plane &plane, float epsilon) const |
void | ComputeMoment (Moment &m) |
float | MinEdgeLength () const |
float | MaxEdgeLength () const |
void | ComputePoint (float u, float v, Point &pt, udword *nearvtx=null) const |
void | Inflate (float fat_coeff, bool constant_border) |
Public Attributes | |
Point | mVerts [3] |
Vertices. More... | |
Contains an indexed triangle class.
Definition at line 30 of file IceTriangle.h.
|
inline |
Constructor.
Definition at line 36 of file IceTriangle.h.
|
inline |
float Triangle::Area | ( | ) | const |
void Triangle::Center | ( | Point & | center) | const |
float Triangle::Compacity | ( | ) | const |
void Triangle::ComputeMoment | ( | Moment & | m) |
void Triangle::DenormalizedNormal | ( | Point & | normal) | const |
void Triangle::Flip | ( | ) |
float Triangle::MaxEdgeLength | ( | ) | const |
float Triangle::MinEdgeLength | ( | ) | const |
void Triangle::Normal | ( | Point & | normal) | const |
float Triangle::Perimeter | ( | ) | const |
Point Triangle::mVerts[3] |
Vertices.
Definition at line 47 of file IceTriangle.h.
Referenced by TriList::AddTri(), and Triangle().