|
enum | Order { CCW = 0,
CW
} |
|
|
| SPolygon (const Vec3f &c0, const Vec3f &c1, const Vec3f &c2, const Vec3f &c3) |
| Construct a polygon from 4 corner vertices. More...
|
|
void | intersect (const Plane &p, QVector< Vec3f > &intersectionPoints) |
| Intersect by specified plane and store the intersection points. More...
|
|
void | reverseOrder () |
| Reverse the vertices order. More...
|
|
void | addUniqueVert (const Vec3f &v) |
| Add the vertex v to vertices if it is not already present. More...
|
|
void | render () |
|
Definition at line 30 of file SPolygon.hpp.
SPolygon::SPolygon |
( |
const Vec3f & |
c0, |
|
|
const Vec3f & |
c1, |
|
|
const Vec3f & |
c2, |
|
|
const Vec3f & |
c3 |
|
) |
| |
Construct a polygon from 4 corner vertices.
void SPolygon::addUniqueVert |
( |
const Vec3f & |
v | ) |
|
Add the vertex v to vertices if it is not already present.
void SPolygon::intersect |
( |
const Plane & |
p, |
|
|
QVector< Vec3f > & |
intersectionPoints |
|
) |
| |
Intersect by specified plane and store the intersection points.
void SPolygon::reverseOrder |
( |
| ) |
|
Reverse the vertices order.
QVector<Vec3f> SPolygon::vertices |
Holds all vertices of this polygon.
Definition at line 45 of file SPolygon.hpp.
The documentation for this class was generated from the following file: