Slightly heavyweight type to speed-up calculations with polygons in 3D. More...
#include <mrpt/math/geometry.h>
Public Member Functions | |
TPolygonWithPlane (const TPolygon3D &p) | |
Constructor. | |
TPolygonWithPlane () | |
Basic constructor. | |
Static Public Member Functions | |
static void | getPlanes (const vector< TPolygon3D > &oldPolys, vector< TPolygonWithPlane > &newPolys) |
Static method for vectors. | |
Public Attributes | |
TPolygon3D | poly |
Actual polygon. | |
TPlane | plane |
Plane containing the polygon. | |
mrpt::poses::CPose3D | pose |
Plane's pose. | |
mrpt::poses::CPose3D | inversePose |
Plane's inverse pose. | |
TPolygon2D | poly2D |
Polygon, after being projected to the plane using inversePose. |
Slightly heavyweight type to speed-up calculations with polygons in 3D.
Definition at line 57 of file geometry.h.
mrpt::math::TPolygonWithPlane::TPolygonWithPlane | ( | const TPolygon3D & | p | ) |
Constructor.
Takes a polygon and computes each parameter.
mrpt::math::TPolygonWithPlane::TPolygonWithPlane | ( | ) | [inline] |
static void mrpt::math::TPolygonWithPlane::getPlanes | ( | const vector< TPolygon3D > & | oldPolys, | |
vector< TPolygonWithPlane > & | newPolys | |||
) | [static] |
Static method for vectors.
Takes a set of polygons and creates every TPolygonWithPlane
Referenced by mrpt::math::traceRay().
Plane containing the polygon.
Definition at line 66 of file geometry.h.
Actual polygon.
Definition at line 62 of file geometry.h.
Polygon, after being projected to the plane using inversePose.
Definition at line 81 of file geometry.h.
Page generated by Doxygen 1.6.1 for MRPT 0.7.1 SVN: at Tue Dec 22 08:29:35 CET 2009 |