MRPT logo

mrpt::poses::CPoint Class Reference

A virtual base class to represent a point in 2D or 3D. More...

#include <mrpt/poses/CPoint.h>

Inheritance diagram for mrpt::poses::CPoint:
Inheritance graph
[legend]
Collaboration diagram for mrpt::poses::CPoint:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void AddComponents (CPoseOrPoint &p)
 Scalar sum of components: This is diferent from poses composition, which is implemented as "+" operators in "CPose" derived classes.
void operator*= (const double &s)
 Scalar multiplication.

Detailed Description

A virtual base class to represent a point in 2D or 3D.

For more information refer to the 2D/3D Geometry tutorial in the wiki.

See also:
CPoseOrPoint,CPose, CPoint

Definition at line 48 of file CPoint.h.


Member Function Documentation

void mrpt::poses::CPoint::AddComponents ( CPoseOrPoint p  ) 

Scalar sum of components: This is diferent from poses composition, which is implemented as "+" operators in "CPose" derived classes.

void mrpt::poses::CPoint::operator*= ( const double &  s  )  [virtual]

Scalar multiplication.

Implements mrpt::poses::CPoseOrPoint.




Page generated by Doxygen 1.6.2 for MRPT 0.8.1 SVN:exported at Mon Feb 15 22:01:07 UTC 2010