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:

mrpt::poses::CPoseOrPoint mrpt::utils::CSerializable mrpt::poses::CPoint2D mrpt::poses::CPoint3D

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.5.9 for MRPT 0.7.1 SVN: at Mon Aug 17 22:20:53 EDT 2009