Class TPolygonWithPlane
Defined in File TPolygonWithPlane.h
Class Documentation
-
class TPolygonWithPlane
Slightly heavyweight type to speed-up calculations with polygons in 3D
See also
Public Functions
-
TPolygonWithPlane(const TPolygon3D &p)
Constructor. Takes a polygon and computes each parameter.
-
TPolygonWithPlane() = default
Basic constructor. Needed to create containers
Public Members
-
TPolygon3D poly
Actual polygon.
-
TPolygon2D poly2D
Polygon, after being projected to the plane using inversePose.
See also
Public Static Functions
-
static void getPlanes(const std::vector<TPolygon3D> &oldPolys, std::vector<TPolygonWithPlane> &newPolys)
Static method for vectors. Takes a set of polygons and creates every TPolygonWithPlane
-
TPolygonWithPlane(const TPolygon3D &p)