![]() |
Stellarium 0.15.2
|
Public Types | |
| enum | Order { CCW = 0, CW } |
Public Member Functions | |
| 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 () |
Public Attributes | |
| QVector< Vec3f > | vertices |
| Holds all vertices of this polygon. More... | |
Definition at line 30 of file SPolygon.hpp.
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.
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.
1.8.11