21 #ifndef _SPOLYGON_HPP_ 22 #define _SPOLYGON_HPP_ 24 #include "VecMath.hpp" 48 void intersect(
const Plane &p, QVector<Vec3f> &intersectionPoints);
void addUniqueVert(const Vec3f &v)
Add the vertex v to vertices if it is not already present.
void intersect(const Plane &p, QVector< Vec3f > &intersectionPoints)
Intersect by specified plane and store the intersection points.
void reverseOrder()
Reverse the vertices order.
QVector< Vec3f > vertices
Holds all vertices of this polygon.