Main MRPT website > C++ reference
MRPT logo
Public Member Functions | Static Public Member Functions | Public Attributes

mrpt::math::TPolygonWithPlane Class Reference


Detailed Description

Slightly heavyweight type to speed-up calculations with polygons in 3D.

See also:
TPolygon3D,TPlane

Definition at line 61 of file geometry.h.

#include <mrpt/math/geometry.h>

List of all members.

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.

Constructor & Destructor Documentation

mrpt::math::TPolygonWithPlane::TPolygonWithPlane ( const TPolygon3D p )

Constructor.

Takes a polygon and computes each parameter.

mrpt::math::TPolygonWithPlane::TPolygonWithPlane (  ) [inline]

Basic constructor.

Needed to create containers.

See also:
TPolygonWithPlane(const TPolygon3D &)

Definition at line 94 of file geometry.h.


Member Function Documentation

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().


Member Data Documentation

Plane's inverse pose.

See also:
pose

Definition at line 80 of file geometry.h.

Plane containing the polygon.

Definition at line 70 of file geometry.h.

Actual polygon.

Definition at line 66 of file geometry.h.

Polygon, after being projected to the plane using inversePose.

See also:
inversePose

Definition at line 85 of file geometry.h.

Plane's pose.

See also:
inversePose

Definition at line 75 of file geometry.h.




Page generated by Doxygen 1.7.2 for MRPT 0.9.4 SVN: at Mon Jan 10 22:30:30 UTC 2011