Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 4bc66056a634db26a1f4d0845dc41ca6 > files > 4579

mrpt-doc-0.9.5-0.1.20110925svn2670.fc16.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>mrpt::poses::CPoint3D Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<div align="left"><a href="http://www.mrpt.org/">Main MRPT website</a> &gt; <b>C++ reference</b> </div>
<div align="right">
<a href="index.html"><img border="0" src="mrpt_logo.png" alt="MRPT logo"></a>
</div>
<!-- Generated by Doxygen 1.7.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
          <div class="left">
            <form id="FSearchBox" action="search.php" method="get">
              <img id="MSearchSelect" src="search/mag.png" alt=""/>
              <input type="text" id="MSearchField" name="query" value="Search" size="20" accesskey="S" 
                     onfocus="searchBox.OnSearchFieldFocus(true)" 
                     onblur="searchBox.OnSearchFieldFocus(false)"/>
            </form>
          </div><div class="right"></div>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacemrpt.html">mrpt</a>      </li>
      <li class="navelem"><a class="el" href="namespacemrpt_1_1poses.html">poses</a>      </li>
      <li class="navelem"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html">CPoint3D</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">mrpt::poses::CPoint3D Class Reference<div class="ingroups"><a class="el" href="group__poses__grp.html">2D/3D points and poses</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="mrpt::poses::CPoint3D" --><!-- doxytag: inherits="CPoint&lt; CPoint3D &gt;,mrpt::utils::CSerializable" --><hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A class used to store a 3D point. </p>
<p>For a complete description of Points/Poses, see <a class="el" href="classmrpt_1_1poses_1_1_c_pose_or_point.html" title="The base template class for 2D &amp; 3D points and poses.">mrpt::poses::CPoseOrPoint</a>, or refer to the <a href="http://www.mrpt.org/2D_3D_Geometry">2D/3D Geometry tutorial</a> in the wiki.</p>
<div align="center"> <div class="image">
<img src="CPoint3D.gif" alt="CPoint3D.gif"/>
</div>
 </div><dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1poses_1_1_c_pose_or_point.html" title="The base template class for 2D &amp; 3D points and poses.">CPoseOrPoint</a>,<a class="el" href="classmrpt_1_1poses_1_1_c_pose.html" title="A base class for representing a pose in 2D or 3D.">CPose</a>, <a class="el" href="classmrpt_1_1poses_1_1_c_point.html" title="A base class for representing a point in 2D or 3D.">CPoint</a> </dd></dl>
</div>
<p><code>#include &lt;<a class="el" href="_c_point3_d_8h_source.html">mrpt/poses/CPoint3D.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for mrpt::poses::CPoint3D:</div>
<div class="dyncontent">
<div class="center"><img src="classmrpt_1_1poses_1_1_c_point3_d__inherit__graph.png" border="0" usemap="#mrpt_1_1poses_1_1_c_point3_d_inherit__map" alt="Inheritance graph"/></div>
<map name="mrpt_1_1poses_1_1_c_point3_d_inherit__map" id="mrpt_1_1poses_1_1_c_point3_d_inherit__map">
<area shape="rect" id="node2" href="classmrpt_1_1poses_1_1_c_point.html" title="mrpt::poses::CPoint\&lt; CPoint3D \&gt;" alt="" coords="51,264,271,291"/><area shape="rect" id="node4" href="classmrpt_1_1poses_1_1_c_point.html" title="A base class for representing a point in 2D or 3D." alt="" coords="92,173,231,200"/><area shape="rect" id="node6" href="classmrpt_1_1poses_1_1_c_pose_or_point.html" title="mrpt::poses::CPoseOrPoint\&lt; DERIVEDCLASS \&gt;" alt="" coords="5,96,317,123"/><area shape="rect" id="node8" href="classmrpt_1_1poses_1_1_c_pose_or_point.html" title="The base template class for 2D &amp; 3D points and poses." alt="" coords="70,5,252,32"/><area shape="rect" id="node10" href="classmrpt_1_1utils_1_1_c_serializable.html" title="The virtual base class which provides a unified interface for all persistent objects in MRPT..." alt="" coords="296,264,460,291"/><area shape="rect" id="node12" href="classmrpt_1_1utils_1_1_c_object.html" title="The virtual base class of all MRPT classes with a unified RTTI system." alt="" coords="311,173,445,200"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classmrpt_1_1poses_1_1_c_point3_d-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom">{ <a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a9a4e4904f902f65a41820475bf4a9e81ac7e688449a88c427d811c54eb64bf721">is_3D_val</a> =  1
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom">{ <a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#aca61685f9a7301937a371adf61d84b99af6e0e9d88059394a7d1d87604cc7aa56">is_PDF_val</a> =  0
 }</td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a74f912b887fea30cfa50aafd1bbaf952">CPoint3D</a> (const double x=0, const double y=0, const double z=0)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for initializing point coordinates.  <a href="#a74f912b887fea30cfa50aafd1bbaf952"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a52dd37d0a816bc0cee3407a5578f5743">CPoint3D</a> (const <a class="el" href="classmrpt_1_1math_1_1_c_array_double.html">mrpt::math::CArrayDouble</a>&lt; 3 &gt; &amp;xyz)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor from a XYZ 3-vector.  <a href="#a52dd37d0a816bc0cee3407a5578f5743"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a7d093636fc9f4bba69c53d37faf074b1">CPoint3D</a> (const <a class="el" href="classmrpt_1_1poses_1_1_c_point2_d.html">CPoint2D</a> &amp;p)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor from an <a class="el" href="classmrpt_1_1poses_1_1_c_point2_d.html" title="A class used to store a 2D point.">CPoint2D</a> object.  <a href="#a7d093636fc9f4bba69c53d37faf074b1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a202e68faaf61477cafd4719f70d57795">CPoint3D</a> (const <a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d.html">CPose3D</a> &amp;p)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor from an <a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d.html" title="A class used to store a 3D pose (a 3D translation + a rotation in 3D).">CPose3D</a> object.  <a href="#a202e68faaf61477cafd4719f70d57795"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a591f1ed312b9087ecfc01c8b0ebae00c">CPoint3D</a> (const <a class="el" href="classmrpt_1_1poses_1_1_c_pose2_d.html">CPose2D</a> &amp;p)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor from an <a class="el" href="classmrpt_1_1poses_1_1_c_pose2_d.html" title="A class used to store a 2D pose.">CPose2D</a> object.  <a href="#a591f1ed312b9087ecfc01c8b0ebae00c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a7d4dce9d4b3b72193086e554839b9366">CPoint3D</a> (const <a class="el" href="structmrpt_1_1math_1_1_t_point3_d.html">mrpt::math::TPoint3D</a> &amp;p)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor from lightweight object.  <a href="#a7d4dce9d4b3b72193086e554839b9366"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html">CPoint3D</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a336439eb873c12e8fbe1355ad7bbf79b">operator-</a> (const <a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d.html">CPose3D</a> &amp;b) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns this point as seen from "b", i.e.  <a href="#a336439eb873c12e8fbe1355ad7bbf79b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html">CPoint3D</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a8885a1cf4625ce09cf9dfb5b3fcc2d6c">operator-</a> (const <a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html">CPoint3D</a> &amp;b) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns this point minus point "b", i.e.  <a href="#a8885a1cf4625ce09cf9dfb5b3fcc2d6c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html">CPoint3D</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#ab820ae9b6511a0aa49d79e97e4c39f78">operator+</a> (const <a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html">CPoint3D</a> &amp;b) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns this point plus point "b", i.e.  <a href="#ab820ae9b6511a0aa49d79e97e4c39f78"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d.html">CPose3D</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a9cc8665af6a77e30b76ef143e37331b2">operator+</a> (const <a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d.html">CPose3D</a> &amp;b) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns this point plus pose "b", i.e.  <a href="#a9cc8665af6a77e30b76ef143e37331b2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1utils_1_1_c_object_ptr.html">mrpt::utils::CObjectPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_object.html#a534695890364f4b916bba07dad311bcf">duplicateGetSmartPtr</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a copy of the object, indepently of its class, as a smart pointer (the newly created object will exist as long as any copy of this smart pointer).  <a href="#a534695890364f4b916bba07dad311bcf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1utils_1_1_c_object.html">CObject</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_object.html#a9ef7857a0b36059c078e195a0a65ac00">clone</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Cloning interface for smart pointers.  <a href="#a9ef7857a0b36059c078e195a0a65ac00"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Methods common to all 2D or 3D points</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point.html#a3e4975121395a7c8f8efa6a2e536971e">AddComponents</a> (const OTHERCLASS &amp;b)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Scalar addition of all coordinates.  <a href="#a3e4975121395a7c8f8efa6a2e536971e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point.html#ad1c5229e7462c31eeb01e0ec7e002742">operator*=</a> (const double s)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Scalar multiplication.  <a href="#ad1c5229e7462c31eeb01e0ec7e002742"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point.html#a1475f71cb06192af4a43d0f0ceb54a86">getAsVector</a> (<a class="el" href="namespacemrpt.html#a4a6aab2c98368ca6b554c04f8fe84cfb">vector_double</a> &amp;v) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the pose or point as a 1x2 or 1x3 vector [x y] or [x y z].  <a href="#a1475f71cb06192af4a43d0f0ceb54a86"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacemrpt.html#a4a6aab2c98368ca6b554c04f8fe84cfb">vector_double</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point.html#aa056055a3cbfe41c6ba3c79370c561ca">getAsVector</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point.html#a9feaa4392d225ef30569d927ea912cd8">getHomogeneousMatrix</a> (<a class="el" href="namespacemrpt_1_1math.html#a25a1ba39a478a66d24a4ecfb9c585c79">CMatrixDouble44</a> &amp;out_HM) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the corresponding 4x4 homogeneous transformation matrix for the point(translation) or pose (translation+orientation).  <a href="#a9feaa4392d225ef30569d927ea912cd8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point.html#a62421d42705b4f7529f9140cf8f5e37f">asString</a> (<a class="el" href="classstd_1_1string.html">std::string</a> &amp;s) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a human-readable textual representation of the object (eg: "[0.02 1.04]" )  <a href="#a62421d42705b4f7529f9140cf8f5e37f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classstd_1_1string.html">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point.html#a73c90c209be9250b480aa9db19c6e37e">asString</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point.html#a6bd476309950f08614b53293b3ba909c">fromString</a> (const <a class="el" href="classstd_1_1string.html">std::string</a> &amp;s)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the current object value from a string generated by 'asString' (eg: "[0.02 1.04]" )  <a href="#a6bd476309950f08614b53293b3ba909c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const double &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point.html#a74cf5b85852318531e782ada372e2882">operator[]</a> (unsigned int i) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point.html#a02db452a96be2068ec89b09e4963f1e4">operator[]</a> (unsigned int i)</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a6d999a5bf581ded4c55c058c3da81e97">is_3D</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a0ffe56c9723b08605b864b727034be3a">is_PDF</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1math_1_1_c_array_double.html">mrpt::math::CArrayDouble</a>&lt; 3 &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#afd95bf493d6bfce5e88b7df0a014232e">m_coords</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">[x,y,z]  <a href="#afd95bf493d6bfce5e88b7df0a014232e"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const <br class="typebreak"/>
<a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_object.html#acb51e4dd811d62c2696aee449d0a4715">classCObject</a></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_serializable.html#a0b6b801e67bca3d8e0d355e7035f8013">writeToStream</a> (<a class="el" href="classmrpt_1_1utils_1_1_c_stream.html">mrpt::utils::CStream</a> &amp;out, int *getVersion) const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Introduces a pure virtual method responsible for writing to a <a class="el" href="classmrpt_1_1utils_1_1_c_stream.html" title="This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...">CStream</a>.  <a href="#a0b6b801e67bca3d8e0d355e7035f8013"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_serializable.html#a73ba83035a64939cdc3aa1c0dfed23ec">readFromStream</a> (<a class="el" href="classmrpt_1_1utils_1_1_c_stream.html">mrpt::utils::CStream</a> &amp;in, int version)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Introduces a pure virtual method responsible for loading from a <a class="el" href="classmrpt_1_1utils_1_1_c_stream.html" title="This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...">CStream</a> This can not be used directly be users, instead use "stream &gt;&gt; object;" for reading it from a stream or "stream &gt;&gt; object_ptr;" if the class is unknown apriori.  <a href="#a73ba83035a64939cdc3aa1c0dfed23ec"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="member-group"></a>
RTTI stuff</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structmrpt_1_1poses_1_1_c_point3_d_ptr.html">CPoint3DPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a924d13ad624d3b2c6d1e4583f68c89ce">SmartPtr</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structmrpt_1_1utils_1_1_c_l_a_s_s_i_n_i_t.html">mrpt::utils::CLASSINIT</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a06990526e8639a82684a6a15e10bf448">_init_CPoint3D</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#af81a693510b295be740a8a4c15d787d3">classCPoint3D</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const <br class="typebreak"/>
<a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#abd21d0f6d7730627d5327b86f6c8343c">classinfo</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const <br class="typebreak"/>
<a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a0b92bc7a957eb85af40e32b05bb9bcaf">_GetBaseClass</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const <br class="typebreak"/>
<a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a97500ef3d2f96f57b1facb20fdc6280a">GetRuntimeClass</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns information about the class of an object in runtime.  <a href="#a97500ef3d2f96f57b1facb20fdc6280a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classmrpt_1_1utils_1_1_c_object.html">mrpt::utils::CObject</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a29bbab541ccead175735cb918d824df8">duplicate</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a copy of the object, indepently of its class.  <a href="#a29bbab541ccead175735cb918d824df8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classmrpt_1_1utils_1_1_c_object.html">mrpt::utils::CObject</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a4075015b6373a1a0715356d9a6cee368">CreateObject</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structmrpt_1_1poses_1_1_c_point3_d_ptr.html">CPoint3DPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#abe397dae6c4fa91b8bbf537eb3823eb7">Create</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="member-group"></a>
STL-like methods and typedefs</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom">{ <a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a838780ff61d017175aaf9d7fb9a2414aaaa986c214cd9fc52d6f28162bc9fd217">static_size</a> =  3
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#af47db84bb8ed41c23a017bf0a202577e">value_type</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The type of the elements.  <a href="#af47db84bb8ed41c23a017bf0a202577e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef double &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#aec533e755a0c604af561c98f9dd18c05">reference</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef const double &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a936469f389ce5efc1e5b95f451ffcdb1">const_reference</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a060b60330ce934e4c2012b68246128e2">size_type</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef std::ptrdiff_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a4aab6a4cf634b29c7197858063d43ffd">difference_type</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a060b60330ce934e4c2012b68246128e2">size_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#af1bcb17e83f7025e1ad9c69933c4e4ac">size</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a46918aff8fda9d1106fafe8370637531">empty</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a060b60330ce934e4c2012b68246128e2">size_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#aa20d3d4e858861a350460e9d4e0c78bd">max_size</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a6b59ade2b49aeb90e3b332d829f4750b">resize</a> (const size_t n)</td></tr>
<tr><td colspan="2"><h2><a name="member-group"></a>
RTTI stuff</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const <br class="typebreak"/>
<a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_serializable.html#a28ec2a03d277a8469b8ecfc81892afdf">classCSerializable</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1_c_serializable.html#a6fec28a53e20dfc1c4d046c26f9f7b48">mrpt::utils::CStream</a></td></tr>
</table>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a936469f389ce5efc1e5b95f451ffcdb1"></a><!-- doxytag: member="mrpt::poses::CPoint3D::const_reference" ref="a936469f389ce5efc1e5b95f451ffcdb1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef const double&amp; <a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a936469f389ce5efc1e5b95f451ffcdb1">mrpt::poses::CPoint3D::const_reference</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_point3_d_8h_source.html#l00102">102</a> of file <a class="el" href="_c_point3_d_8h_source.html">CPoint3D.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4aab6a4cf634b29c7197858063d43ffd"></a><!-- doxytag: member="mrpt::poses::CPoint3D::difference_type" ref="a4aab6a4cf634b29c7197858063d43ffd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::ptrdiff_t <a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a4aab6a4cf634b29c7197858063d43ffd">mrpt::poses::CPoint3D::difference_type</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_point3_d_8h_source.html#l00104">104</a> of file <a class="el" href="_c_point3_d_8h_source.html">CPoint3D.h</a>.</p>

</div>
</div>
<a class="anchor" id="aec533e755a0c604af561c98f9dd18c05"></a><!-- doxytag: member="mrpt::poses::CPoint3D::reference" ref="aec533e755a0c604af561c98f9dd18c05" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef double&amp; <a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#aec533e755a0c604af561c98f9dd18c05">mrpt::poses::CPoint3D::reference</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_point3_d_8h_source.html#l00101">101</a> of file <a class="el" href="_c_point3_d_8h_source.html">CPoint3D.h</a>.</p>

</div>
</div>
<a class="anchor" id="a060b60330ce934e4c2012b68246128e2"></a><!-- doxytag: member="mrpt::poses::CPoint3D::size_type" ref="a060b60330ce934e4c2012b68246128e2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::size_t <a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a060b60330ce934e4c2012b68246128e2">mrpt::poses::CPoint3D::size_type</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_point3_d_8h_source.html#l00103">103</a> of file <a class="el" href="_c_point3_d_8h_source.html">CPoint3D.h</a>.</p>

</div>
</div>
<a class="anchor" id="a924d13ad624d3b2c6d1e4583f68c89ce"></a><!-- doxytag: member="mrpt::poses::CPoint3D::SmartPtr" ref="a924d13ad624d3b2c6d1e4583f68c89ce" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="structmrpt_1_1poses_1_1_c_point3_d_ptr.html">CPoint3DPtr</a> <a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a924d13ad624d3b2c6d1e4583f68c89ce">mrpt::poses::CPoint3D::SmartPtr</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>A typedef for the associated smart pointer </p>

<p>Definition at line <a class="el" href="_c_point3_d_8h_source.html#l00055">55</a> of file <a class="el" href="_c_point3_d_8h_source.html">CPoint3D.h</a>.</p>

</div>
</div>
<a class="anchor" id="af47db84bb8ed41c23a017bf0a202577e"></a><!-- doxytag: member="mrpt::poses::CPoint3D::value_type" ref="af47db84bb8ed41c23a017bf0a202577e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef double <a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#af47db84bb8ed41c23a017bf0a202577e">mrpt::poses::CPoint3D::value_type</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The type of the elements. </p>

<p>Definition at line <a class="el" href="_c_point3_d_8h_source.html#l00100">100</a> of file <a class="el" href="_c_point3_d_8h_source.html">CPoint3D.h</a>.</p>

</div>
</div>
<hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a9a4e4904f902f65a41820475bf4a9e81"></a><!-- doxytag: member="mrpt::poses::CPoint3D::@14" ref="a9a4e4904f902f65a41820475bf4a9e81" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a9a4e4904f902f65a41820475bf4a9e81ac7e688449a88c427d811c54eb64bf721"></a><!-- doxytag: member="is_3D_val" ref="a9a4e4904f902f65a41820475bf4a9e81ac7e688449a88c427d811c54eb64bf721" args="" -->is_3D_val</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="_c_point3_d_8h_source.html#l00092">92</a> of file <a class="el" href="_c_point3_d_8h_source.html">CPoint3D.h</a>.</p>

</div>
</div>
<a class="anchor" id="aca61685f9a7301937a371adf61d84b99"></a><!-- doxytag: member="mrpt::poses::CPoint3D::@15" ref="aca61685f9a7301937a371adf61d84b99" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="aca61685f9a7301937a371adf61d84b99af6e0e9d88059394a7d1d87604cc7aa56"></a><!-- doxytag: member="is_PDF_val" ref="aca61685f9a7301937a371adf61d84b99af6e0e9d88059394a7d1d87604cc7aa56" args="" -->is_PDF_val</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="_c_point3_d_8h_source.html#l00095">95</a> of file <a class="el" href="_c_point3_d_8h_source.html">CPoint3D.h</a>.</p>

</div>
</div>
<a class="anchor" id="a838780ff61d017175aaf9d7fb9a2414a"></a><!-- doxytag: member="mrpt::poses::CPoint3D::@16" ref="a838780ff61d017175aaf9d7fb9a2414a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a838780ff61d017175aaf9d7fb9a2414aaaa986c214cd9fc52d6f28162bc9fd217"></a><!-- doxytag: member="static_size" ref="a838780ff61d017175aaf9d7fb9a2414aaaa986c214cd9fc52d6f28162bc9fd217" args="" -->static_size</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="_c_point3_d_8h_source.html#l00108">108</a> of file <a class="el" href="_c_point3_d_8h_source.html">CPoint3D.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a74f912b887fea30cfa50aafd1bbaf952"></a><!-- doxytag: member="mrpt::poses::CPoint3D::CPoint3D" ref="a74f912b887fea30cfa50aafd1bbaf952" args="(const double x=0, const double y=0, const double z=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mrpt::poses::CPoint3D::CPoint3D </td>
          <td>(</td>
          <td class="paramtype">const double&#160;</td>
          <td class="paramname"><em>x</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double&#160;</td>
          <td class="paramname"><em>y</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double&#160;</td>
          <td class="paramname"><em>z</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor for initializing point coordinates. </p>

<p>Definition at line <a class="el" href="_c_point3_d_8h_source.html#l00062">62</a> of file <a class="el" href="_c_point3_d_8h_source.html">CPoint3D.h</a>.</p>

<p>References <a class="el" href="_core_source.html#l00604">Eigen::internal::y</a>.</p>

</div>
</div>
<a class="anchor" id="a52dd37d0a816bc0cee3407a5578f5743"></a><!-- doxytag: member="mrpt::poses::CPoint3D::CPoint3D" ref="a52dd37d0a816bc0cee3407a5578f5743" args="(const mrpt::math::CArrayDouble&lt; 3 &gt; &amp;xyz)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mrpt::poses::CPoint3D::CPoint3D </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1math_1_1_c_array_double.html">mrpt::math::CArrayDouble</a>&lt; 3 &gt; &amp;&#160;</td>
          <td class="paramname"><em>xyz</em></td><td>)</td>
          <td><code> [inline, explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor from a XYZ 3-vector. </p>

<p>Definition at line <a class="el" href="_c_point3_d_8h_source.html#l00065">65</a> of file <a class="el" href="_c_point3_d_8h_source.html">CPoint3D.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7d093636fc9f4bba69c53d37faf074b1"></a><!-- doxytag: member="mrpt::poses::CPoint3D::CPoint3D" ref="a7d093636fc9f4bba69c53d37faf074b1" args="(const CPoint2D &amp;p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mrpt::poses::CPoint3D::CPoint3D </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1poses_1_1_c_point2_d.html">CPoint2D</a> &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor from an <a class="el" href="classmrpt_1_1poses_1_1_c_point2_d.html" title="A class used to store a 2D point.">CPoint2D</a> object. </p>

</div>
</div>
<a class="anchor" id="a202e68faaf61477cafd4719f70d57795"></a><!-- doxytag: member="mrpt::poses::CPoint3D::CPoint3D" ref="a202e68faaf61477cafd4719f70d57795" args="(const CPose3D &amp;p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mrpt::poses::CPoint3D::CPoint3D </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d.html">CPose3D</a> &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td><code> [inline, explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor from an <a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d.html" title="A class used to store a 3D pose (a 3D translation + a rotation in 3D).">CPose3D</a> object. </p>

<p>Definition at line <a class="el" href="_c_point3_d_8h_source.html#l00071">71</a> of file <a class="el" href="_c_point3_d_8h_source.html">CPoint3D.h</a>.</p>

</div>
</div>
<a class="anchor" id="a591f1ed312b9087ecfc01c8b0ebae00c"></a><!-- doxytag: member="mrpt::poses::CPoint3D::CPoint3D" ref="a591f1ed312b9087ecfc01c8b0ebae00c" args="(const CPose2D &amp;p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mrpt::poses::CPoint3D::CPoint3D </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1poses_1_1_c_pose2_d.html">CPose2D</a> &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor from an <a class="el" href="classmrpt_1_1poses_1_1_c_pose2_d.html" title="A class used to store a 2D pose.">CPose2D</a> object. </p>

</div>
</div>
<a class="anchor" id="a7d4dce9d4b3b72193086e554839b9366"></a><!-- doxytag: member="mrpt::poses::CPoint3D::CPoint3D" ref="a7d4dce9d4b3b72193086e554839b9366" args="(const mrpt::math::TPoint3D &amp;p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mrpt::poses::CPoint3D::CPoint3D </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmrpt_1_1math_1_1_t_point3_d.html">mrpt::math::TPoint3D</a> &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor from lightweight object. </p>

<p>Definition at line <a class="el" href="_c_point3_d_8h_source.html#l00077">77</a> of file <a class="el" href="_c_point3_d_8h_source.html">CPoint3D.h</a>.</p>

<p>References <a class="el" href="lightweight__geom__data_8h_source.html#l00293">mrpt::math::TPoint3D::x</a>, <a class="el" href="lightweight__geom__data_8h_source.html#l00294">mrpt::math::TPoint3D::y</a>, and <a class="el" href="lightweight__geom__data_8h_source.html#l00295">mrpt::math::TPoint3D::z</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a0b92bc7a957eb85af40e32b05bb9bcaf"></a><!-- doxytag: member="mrpt::poses::CPoint3D::_GetBaseClass" ref="a0b92bc7a957eb85af40e32b05bb9bcaf" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a>* mrpt::poses::CPoint3D::_GetBaseClass </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented from <a class="el" href="classmrpt_1_1utils_1_1_c_serializable.html#a471a2d4e8bf14cdc749d43ffb8066a12">mrpt::utils::CSerializable</a>.</p>

</div>
</div>
<a class="anchor" id="a3e4975121395a7c8f8efa6a2e536971e"></a><!-- doxytag: member="mrpt::poses::CPoint3D::AddComponents" ref="a3e4975121395a7c8f8efa6a2e536971e" args="(const OTHERCLASS &amp;b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::poses::CPoint::AddComponents </td>
          <td>(</td>
          <td class="paramtype">const OTHERCLASS &amp;&#160;</td>
          <td class="paramname"><em>b</em></td><td>)</td>
          <td><code> [inline, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Scalar addition of all coordinates. </p>
<p>This is diferent from poses/point composition, which is implemented as "+" operators in classes derived from "CPose" </p>

<p>Definition at line <a class="el" href="_c_point_8h_source.html#l00054">54</a> of file <a class="el" href="_c_point_8h_source.html">CPoint.h</a>.</p>

<p>References <a class="el" href="eigen__plugins_8h_source.html#l00037">static_size</a>.</p>

</div>
</div>
<a class="anchor" id="a62421d42705b4f7529f9140cf8f5e37f"></a><!-- doxytag: member="mrpt::poses::CPoint3D::asString" ref="a62421d42705b4f7529f9140cf8f5e37f" args="(std::string &amp;s) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::poses::CPoint::asString </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classstd_1_1string.html">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>s</em></td><td>)</td>
          <td> const<code> [inline, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a human-readable textual representation of the object (eg: "[0.02 1.04]" ) </p>
<dl class="see"><dt><b>See also:</b></dt><dd>fromString </dd></dl>

<p>Definition at line <a class="el" href="_c_point_8h_source.html#l00093">93</a> of file <a class="el" href="_c_point_8h_source.html">CPoint.h</a>.</p>

<p>References <a class="el" href="_c_pose_or_point_8h_source.html#l00149">mrpt::poses::CPoseOrPoint&lt; DERIVEDCLASS &gt;::is3DPoseOrPoint()</a>, <a class="el" href="namespacemrpt.html#a3a27af794b658df5491e2b7678f8ccb8">mrpt::format()</a>, and <a class="el" href="_c_pose_or_point_8h_source.html#l00136">mrpt::poses::CPoseOrPoint&lt; DERIVEDCLASS &gt;::y()</a>.</p>

</div>
</div>
<a class="anchor" id="a73c90c209be9250b480aa9db19c6e37e"></a><!-- doxytag: member="mrpt::poses::CPoint3D::asString" ref="a73c90c209be9250b480aa9db19c6e37e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classstd_1_1string.html">std::string</a> mrpt::poses::CPoint::asString </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_point_8h_source.html#l00099">99</a> of file <a class="el" href="_c_point_8h_source.html">CPoint.h</a>.</p>

<p>References <a class="el" href="_c_point_8h_source.html#l00099">mrpt::poses::CPoint::asString()</a>.</p>

</div>
</div>
<a class="anchor" id="a9ef7857a0b36059c078e195a0a65ac00"></a><!-- doxytag: member="mrpt::poses::CPoint3D::clone" ref="a9ef7857a0b36059c078e195a0a65ac00" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1utils_1_1_c_object.html">CObject</a>* mrpt::utils::CObject::clone </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Cloning interface for smart pointers. </p>

<p>Reimplemented in <a class="el" href="classmrpt_1_1opengl_1_1_c_renderizable.html#acb2597d6d93b406501d9f3530eb56adf">mrpt::opengl::CRenderizable</a>, and <a class="el" href="classmrpt_1_1opengl_1_1_c_renderizable_display_list.html#ac164cb1d2cf682778ce52967cbd56469">mrpt::opengl::CRenderizableDisplayList</a>.</p>

<p>Definition at line <a class="el" href="_c_object_8h_source.html#l00154">154</a> of file <a class="el" href="_c_object_8h_source.html">CObject.h</a>.</p>

</div>
</div>
<a class="anchor" id="abe397dae6c4fa91b8bbf537eb3823eb7"></a><!-- doxytag: member="mrpt::poses::CPoint3D::Create" ref="abe397dae6c4fa91b8bbf537eb3823eb7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="structmrpt_1_1poses_1_1_c_point3_d_ptr.html">CPoint3DPtr</a> mrpt::poses::CPoint3D::Create </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a4075015b6373a1a0715356d9a6cee368"></a><!-- doxytag: member="mrpt::poses::CPoint3D::CreateObject" ref="a4075015b6373a1a0715356d9a6cee368" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classmrpt_1_1utils_1_1_c_object.html">mrpt::utils::CObject</a>* mrpt::poses::CPoint3D::CreateObject </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a29bbab541ccead175735cb918d824df8"></a><!-- doxytag: member="mrpt::poses::CPoint3D::duplicate" ref="a29bbab541ccead175735cb918d824df8" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classmrpt_1_1utils_1_1_c_object.html">mrpt::utils::CObject</a>* mrpt::poses::CPoint3D::duplicate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a copy of the object, indepently of its class. </p>

<p>Implements <a class="el" href="classmrpt_1_1utils_1_1_c_object.html#aa1070e173c5f7e307b09c53f1fd256e2">mrpt::utils::CObject</a>.</p>

</div>
</div>
<a class="anchor" id="a534695890364f4b916bba07dad311bcf"></a><!-- doxytag: member="mrpt::poses::CPoint3D::duplicateGetSmartPtr" ref="a534695890364f4b916bba07dad311bcf" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1utils_1_1_c_object_ptr.html">mrpt::utils::CObjectPtr</a> mrpt::utils::CObject::duplicateGetSmartPtr </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a copy of the object, indepently of its class, as a smart pointer (the newly created object will exist as long as any copy of this smart pointer). </p>

<p>Definition at line <a class="el" href="_c_object_8h_source.html#l00151">151</a> of file <a class="el" href="_c_object_8h_source.html">CObject.h</a>.</p>

</div>
</div>
<a class="anchor" id="a46918aff8fda9d1106fafe8370637531"></a><!-- doxytag: member="mrpt::poses::CPoint3D::empty" ref="a46918aff8fda9d1106fafe8370637531" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bool mrpt::poses::CPoint3D::empty </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_point3_d_8h_source.html#l00110">110</a> of file <a class="el" href="_c_point3_d_8h_source.html">CPoint3D.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6bd476309950f08614b53293b3ba909c"></a><!-- doxytag: member="mrpt::poses::CPoint3D::fromString" ref="a6bd476309950f08614b53293b3ba909c" args="(const std::string &amp;s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::poses::CPoint::fromString </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>s</em></td><td>)</td>
          <td><code> [inline, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the current object value from a string generated by 'asString' (eg: "[0.02 1.04]" ) </p>
<dl class="see"><dt><b>See also:</b></dt><dd>asString </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classstd_1_1exception.html" title="STL class.">std::exception</a></td><td>On invalid format </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_c_point_8h_source.html#l00105">105</a> of file <a class="el" href="_c_point_8h_source.html">CPoint.h</a>.</p>

<p>References <a class="el" href="mrpt__macros_8h_source.html#l00131">THROW_EXCEPTION</a>, <a class="el" href="mrpt__macros_8h_source.html#l00285">ASSERT_EQUAL_</a>, <a class="el" href="bits_8h_source.html#l00065">mrpt::math::size()</a>, and <a class="el" href="eigen__plugins_8h_source.html#l00037">static_size</a>.</p>

</div>
</div>
<a class="anchor" id="a1475f71cb06192af4a43d0f0ceb54a86"></a><!-- doxytag: member="mrpt::poses::CPoint3D::getAsVector" ref="a1475f71cb06192af4a43d0f0ceb54a86" args="(vector_double &amp;v) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::poses::CPoint::getAsVector </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacemrpt.html#a4a6aab2c98368ca6b554c04f8fe84cfb">vector_double</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td> const<code> [inline, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the pose or point as a 1x2 or 1x3 vector [x y] or [x y z]. </p>

<p>Definition at line <a class="el" href="_c_point_8h_source.html#l00069">69</a> of file <a class="el" href="_c_point_8h_source.html">CPoint.h</a>.</p>

<p>References <a class="el" href="base_2include_2mrpt_2utils_2types_8h_source.html#l00109">mrpt::dynamicsize_vector::resize()</a>, and <a class="el" href="eigen__plugins_8h_source.html#l00037">static_size</a>.</p>

</div>
</div>
<a class="anchor" id="aa056055a3cbfe41c6ba3c79370c561ca"></a><!-- doxytag: member="mrpt::poses::CPoint3D::getAsVector" ref="aa056055a3cbfe41c6ba3c79370c561ca" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacemrpt.html#a4a6aab2c98368ca6b554c04f8fe84cfb">vector_double</a> mrpt::poses::CPoint::getAsVector </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

<p>Definition at line <a class="el" href="_c_point_8h_source.html#l00076">76</a> of file <a class="el" href="_c_point_8h_source.html">CPoint.h</a>.</p>

<p>References <a class="el" href="_c_point_8h_source.html#l00076">mrpt::poses::CPoint::getAsVector()</a>.</p>

</div>
</div>
<a class="anchor" id="a9feaa4392d225ef30569d927ea912cd8"></a><!-- doxytag: member="mrpt::poses::CPoint3D::getHomogeneousMatrix" ref="a9feaa4392d225ef30569d927ea912cd8" args="(CMatrixDouble44 &amp;out_HM) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::poses::CPoint::getHomogeneousMatrix </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacemrpt_1_1math.html#a25a1ba39a478a66d24a4ecfb9c585c79">CMatrixDouble44</a> &amp;&#160;</td>
          <td class="paramname"><em>out_HM</em></td><td>)</td>
          <td> const<code> [inline, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the corresponding 4x4 homogeneous transformation matrix for the point(translation) or pose (translation+orientation). </p>
<dl class="see"><dt><b>See also:</b></dt><dd>getInverseHomogeneousMatrix </dd></dl>

<p>Definition at line <a class="el" href="_c_point_8h_source.html#l00081">81</a> of file <a class="el" href="_c_point_8h_source.html">CPoint.h</a>.</p>

<p>References <a class="el" href="_c_pose_or_point_8h_source.html#l00135">mrpt::poses::CPoseOrPoint&lt; DERIVEDCLASS &gt;::x()</a>, and <a class="el" href="_c_pose_or_point_8h_source.html#l00136">mrpt::poses::CPoseOrPoint&lt; DERIVEDCLASS &gt;::y()</a>.</p>

</div>
</div>
<a class="anchor" id="a97500ef3d2f96f57b1facb20fdc6280a"></a><!-- doxytag: member="mrpt::poses::CPoint3D::GetRuntimeClass" ref="a97500ef3d2f96f57b1facb20fdc6280a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a>* mrpt::poses::CPoint3D::GetRuntimeClass </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns information about the class of an object in runtime. </p>

<p>Reimplemented from <a class="el" href="classmrpt_1_1utils_1_1_c_serializable.html#a6861b16159daafd1651d6e0d27f39c58">mrpt::utils::CSerializable</a>.</p>

</div>
</div>
<a class="anchor" id="a6d999a5bf581ded4c55c058c3da81e97"></a><!-- doxytag: member="mrpt::poses::CPoint3D::is_3D" ref="a6d999a5bf581ded4c55c058c3da81e97" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bool mrpt::poses::CPoint3D::is_3D </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_point3_d_8h_source.html#l00093">93</a> of file <a class="el" href="_c_point3_d_8h_source.html">CPoint3D.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0ffe56c9723b08605b864b727034be3a"></a><!-- doxytag: member="mrpt::poses::CPoint3D::is_PDF" ref="a0ffe56c9723b08605b864b727034be3a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bool mrpt::poses::CPoint3D::is_PDF </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_point3_d_8h_source.html#l00096">96</a> of file <a class="el" href="_c_point3_d_8h_source.html">CPoint3D.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa20d3d4e858861a350460e9d4e0c78bd"></a><!-- doxytag: member="mrpt::poses::CPoint3D::max_size" ref="aa20d3d4e858861a350460e9d4e0c78bd" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a060b60330ce934e4c2012b68246128e2">size_type</a> mrpt::poses::CPoint3D::max_size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_point3_d_8h_source.html#l00111">111</a> of file <a class="el" href="_c_point3_d_8h_source.html">CPoint3D.h</a>.</p>

<p>References <a class="el" href="eigen__plugins_8h_source.html#l00037">static_size</a>.</p>

</div>
</div>
<a class="anchor" id="ad1c5229e7462c31eeb01e0ec7e002742"></a><!-- doxytag: member="mrpt::poses::CPoint3D::operator*=" ref="ad1c5229e7462c31eeb01e0ec7e002742" args="(const double s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::poses::CPoint::operator*= </td>
          <td>(</td>
          <td class="paramtype">const double&#160;</td>
          <td class="paramname"><em>s</em></td><td>)</td>
          <td><code> [inline, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Scalar multiplication. </p>

<p>Definition at line <a class="el" href="_c_point_8h_source.html#l00062">62</a> of file <a class="el" href="_c_point_8h_source.html">CPoint.h</a>.</p>

<p>References <a class="el" href="eigen__plugins_8h_source.html#l00037">static_size</a>.</p>

</div>
</div>
<a class="anchor" id="ab820ae9b6511a0aa49d79e97e4c39f78"></a><!-- doxytag: member="mrpt::poses::CPoint3D::operator+" ref="ab820ae9b6511a0aa49d79e97e4c39f78" args="(const CPoint3D &amp;b) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html">CPoint3D</a> mrpt::poses::CPoint3D::operator+ </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html">CPoint3D</a> &amp;&#160;</td>
          <td class="paramname"><em>b</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns this point plus point "b", i.e. </p>
<p>result = this + b </p>

</div>
</div>
<a class="anchor" id="a9cc8665af6a77e30b76ef143e37331b2"></a><!-- doxytag: member="mrpt::poses::CPoint3D::operator+" ref="a9cc8665af6a77e30b76ef143e37331b2" args="(const CPose3D &amp;b) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d.html">CPose3D</a> mrpt::poses::CPoint3D::operator+ </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d.html">CPose3D</a> &amp;&#160;</td>
          <td class="paramname"><em>b</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns this point plus pose "b", i.e. </p>
<p>result = this + b </p>

</div>
</div>
<a class="anchor" id="a336439eb873c12e8fbe1355ad7bbf79b"></a><!-- doxytag: member="mrpt::poses::CPoint3D::operator&#45;" ref="a336439eb873c12e8fbe1355ad7bbf79b" args="(const CPose3D &amp;b) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html">CPoint3D</a> mrpt::poses::CPoint3D::operator- </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d.html">CPose3D</a> &amp;&#160;</td>
          <td class="paramname"><em>b</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns this point as seen from "b", i.e. </p>
<p>result = this - b </p>

</div>
</div>
<a class="anchor" id="a8885a1cf4625ce09cf9dfb5b3fcc2d6c"></a><!-- doxytag: member="mrpt::poses::CPoint3D::operator&#45;" ref="a8885a1cf4625ce09cf9dfb5b3fcc2d6c" args="(const CPoint3D &amp;b) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html">CPoint3D</a> mrpt::poses::CPoint3D::operator- </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html">CPoint3D</a> &amp;&#160;</td>
          <td class="paramname"><em>b</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns this point minus point "b", i.e. </p>
<p>result = this - b </p>

</div>
</div>
<a class="anchor" id="a74cf5b85852318531e782ada372e2882"></a><!-- doxytag: member="mrpt::poses::CPoint3D::operator[]" ref="a74cf5b85852318531e782ada372e2882" args="(unsigned int i) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const double&amp; mrpt::poses::CPoint::operator[] </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td> const<code> [inline, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_point_8h_source.html#l00115">115</a> of file <a class="el" href="_c_point_8h_source.html">CPoint.h</a>.</p>

</div>
</div>
<a class="anchor" id="a02db452a96be2068ec89b09e4963f1e4"></a><!-- doxytag: member="mrpt::poses::CPoint3D::operator[]" ref="a02db452a96be2068ec89b09e4963f1e4" args="(unsigned int i)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double&amp; mrpt::poses::CPoint::operator[] </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td><code> [inline, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_point_8h_source.html#l00116">116</a> of file <a class="el" href="_c_point_8h_source.html">CPoint.h</a>.</p>

</div>
</div>
<a class="anchor" id="a73ba83035a64939cdc3aa1c0dfed23ec"></a><!-- doxytag: member="mrpt::poses::CPoint3D::readFromStream" ref="a73ba83035a64939cdc3aa1c0dfed23ec" args="(mrpt::utils::CStream &amp;in, int version)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void mrpt::utils::CSerializable::readFromStream </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmrpt_1_1utils_1_1_c_stream.html">mrpt::utils::CStream</a> &amp;&#160;</td>
          <td class="paramname"><em>in</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>version</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected, pure virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Introduces a pure virtual method responsible for loading from a <a class="el" href="classmrpt_1_1utils_1_1_c_stream.html" title="This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...">CStream</a> This can not be used directly be users, instead use "stream &gt;&gt; object;" for reading it from a stream or "stream &gt;&gt; object_ptr;" if the class is unknown apriori. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">in</td><td>The input binary stream where the object data must read from. </td></tr>
    <tr><td class="paramname">version</td><td>The version of the object stored in the stream: use this version number in your code to know how to read the incoming data. </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classstd_1_1exception.html" title="STL class.">std::exception</a></td><td>On any error, see <a class="el" href="classmrpt_1_1utils_1_1_c_stream.html#a1b8cd3d084b5a95a3f65c6eed6e7cc6d" title="Reads a block of bytes from the stream into Buffer On any error, or if ZERO bytes are read...">CStream::ReadBuffer</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1utils_1_1_c_stream.html" title="This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...">CStream</a> </dd></dl>

<p>Implemented in <a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html#a0194e57ec48c1dfc6aa00c23d3409143">mrpt::math::CMatrixD</a>, and <a class="el" href="classmrpt_1_1math_1_1_c_matrix.html#a12db95e8c32d48d2d2483936dec516a7">mrpt::math::CMatrix</a>.</p>

</div>
</div>
<a class="anchor" id="a6b59ade2b49aeb90e3b332d829f4750b"></a><!-- doxytag: member="mrpt::poses::CPoint3D::resize" ref="a6b59ade2b49aeb90e3b332d829f4750b" args="(const size_t n)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void mrpt::poses::CPoint3D::resize </td>
          <td>(</td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>n</em></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_point3_d_8h_source.html#l00112">112</a> of file <a class="el" href="_c_point3_d_8h_source.html">CPoint3D.h</a>.</p>

<p>References <a class="el" href="eigen__plugins_8h_source.html#l00037">static_size</a>, and <a class="el" href="namespacemrpt.html#a3a27af794b658df5491e2b7678f8ccb8">mrpt::format()</a>.</p>

</div>
</div>
<a class="anchor" id="af1bcb17e83f7025e1ad9c69933c4e4ac"></a><!-- doxytag: member="mrpt::poses::CPoint3D::size" ref="af1bcb17e83f7025e1ad9c69933c4e4ac" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a060b60330ce934e4c2012b68246128e2">size_type</a> mrpt::poses::CPoint3D::size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_point3_d_8h_source.html#l00109">109</a> of file <a class="el" href="_c_point3_d_8h_source.html">CPoint3D.h</a>.</p>

<p>References <a class="el" href="eigen__plugins_8h_source.html#l00037">static_size</a>.</p>

</div>
</div>
<a class="anchor" id="a0b6b801e67bca3d8e0d355e7035f8013"></a><!-- doxytag: member="mrpt::poses::CPoint3D::writeToStream" ref="a0b6b801e67bca3d8e0d355e7035f8013" args="(mrpt::utils::CStream &amp;out, int *getVersion) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void mrpt::utils::CSerializable::writeToStream </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmrpt_1_1utils_1_1_c_stream.html">mrpt::utils::CStream</a> &amp;&#160;</td>
          <td class="paramname"><em>out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>getVersion</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [protected, pure virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Introduces a pure virtual method responsible for writing to a <a class="el" href="classmrpt_1_1utils_1_1_c_stream.html" title="This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...">CStream</a>. </p>
<p>This can not be used directly be users, instead use "stream &lt;&lt; object;" for writing it to a stream. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">out</td><td>The output binary stream where object must be dumped. </td></tr>
    <tr><td class="paramname">getVersion</td><td>If NULL, the object must be dumped. If not, only the version of the object dump must be returned in this pointer. This enables the versioning of objects dumping and backward compatibility with previously stored data. </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classstd_1_1exception.html" title="STL class.">std::exception</a></td><td>On any error, see <a class="el" href="classmrpt_1_1utils_1_1_c_stream.html#a276005e7110c9de74ff3277b3f7bf621" title="Writes a block of bytes to the stream from Buffer.">CStream::WriteBuffer</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1utils_1_1_c_stream.html" title="This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...">CStream</a> </dd></dl>

<p>Implemented in <a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html#a767e787b52208ab4dd46ba7f5e2fd224">mrpt::math::CMatrixD</a>, and <a class="el" href="classmrpt_1_1math_1_1_c_matrix.html#a059d7eaf80dab9c7435154146d2b7dbf">mrpt::math::CMatrix</a>.</p>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a6fec28a53e20dfc1c4d046c26f9f7b48"></a><!-- doxytag: member="mrpt::poses::CPoint3D::mrpt::utils::CStream" ref="a6fec28a53e20dfc1c4d046c26f9f7b48" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="classmrpt_1_1utils_1_1_c_stream.html">mrpt::utils::CStream</a><code> [friend, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented in <a class="el" href="classmrpt_1_1slam_1_1_c_random_field_grid_map2_d.html#a6fec28a53e20dfc1c4d046c26f9f7b48">mrpt::slam::CRandomFieldGridMap2D</a>, <a class="el" href="classmrpt_1_1slam_1_1_c_points_map.html#a6fec28a53e20dfc1c4d046c26f9f7b48">mrpt::slam::CPointsMap</a>, <a class="el" href="classmrpt_1_1slam_1_1_c_observation.html#a6fec28a53e20dfc1c4d046c26f9f7b48">mrpt::slam::CObservation</a>, <a class="el" href="classmrpt_1_1slam_1_1_c_metric_map.html#a6fec28a53e20dfc1c4d046c26f9f7b48">mrpt::slam::CMetricMap</a>, <a class="el" href="classmrpt_1_1opengl_1_1_c_renderizable.html#a6fec28a53e20dfc1c4d046c26f9f7b48">mrpt::opengl::CRenderizable</a>, <a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d_quat_p_d_f.html#a6fec28a53e20dfc1c4d046c26f9f7b48">mrpt::poses::CPose3DQuatPDF</a>, <a class="el" href="classmrpt_1_1poses_1_1_c_point_p_d_f.html#a6fec28a53e20dfc1c4d046c26f9f7b48">mrpt::poses::CPointPDF</a>, <a class="el" href="classmrpt_1_1poses_1_1_c_pose3_d_p_d_f.html#a6fec28a53e20dfc1c4d046c26f9f7b48">mrpt::poses::CPose3DPDF</a>, <a class="el" href="classmrpt_1_1poses_1_1_c_pose_p_d_f.html#a6fec28a53e20dfc1c4d046c26f9f7b48">mrpt::poses::CPosePDF</a>, <a class="el" href="classmrpt_1_1poses_1_1_c_point2_d_p_d_f.html#a6fec28a53e20dfc1c4d046c26f9f7b48">mrpt::poses::CPoint2DPDF</a>, <a class="el" href="classmrpt_1_1opengl_1_1_c_renderizable_display_list.html#a6fec28a53e20dfc1c4d046c26f9f7b48">mrpt::opengl::CRenderizableDisplayList</a>, <a class="el" href="classmrpt_1_1slam_1_1_c_action.html#a6fec28a53e20dfc1c4d046c26f9f7b48">mrpt::slam::CAction</a>, <a class="el" href="classmrpt_1_1detectors_1_1_c_detectable_object.html#a6fec28a53e20dfc1c4d046c26f9f7b48">mrpt::detectors::CDetectableObject</a>, <a class="el" href="classmrpt_1_1opengl_1_1_c_textured_object.html#a6fec28a53e20dfc1c4d046c26f9f7b48">mrpt::opengl::CTexturedObject</a>, and <a class="el" href="classmrpt_1_1reactivenav_1_1_c_holonomic_log_file_record.html#a6fec28a53e20dfc1c4d046c26f9f7b48">mrpt::reactivenav::CHolonomicLogFileRecord</a>.</p>

<p>Definition at line <a class="el" href="_c_serializable_8h_source.html#l00056">56</a> of file <a class="el" href="_c_serializable_8h_source.html">CSerializable.h</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a06990526e8639a82684a6a15e10bf448"></a><!-- doxytag: member="mrpt::poses::CPoint3D::_init_CPoint3D" ref="a06990526e8639a82684a6a15e10bf448" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmrpt_1_1utils_1_1_c_l_a_s_s_i_n_i_t.html">mrpt::utils::CLASSINIT</a> <a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#a06990526e8639a82684a6a15e10bf448">mrpt::poses::CPoint3D::_init_CPoint3D</a><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_point3_d_8h_source.html#l00055">55</a> of file <a class="el" href="_c_point3_d_8h_source.html">CPoint3D.h</a>.</p>

</div>
</div>
<a class="anchor" id="acb51e4dd811d62c2696aee449d0a4715"></a><!-- doxytag: member="mrpt::poses::CPoint3D::classCObject" ref="acb51e4dd811d62c2696aee449d0a4715" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a> <a class="el" href="classmrpt_1_1utils_1_1_c_object.html#acb51e4dd811d62c2696aee449d0a4715">mrpt::utils::CObject::classCObject</a><code> [static, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_object_8h_source.html#l00139">139</a> of file <a class="el" href="_c_object_8h_source.html">CObject.h</a>.</p>

</div>
</div>
<a class="anchor" id="af81a693510b295be740a8a4c15d787d3"></a><!-- doxytag: member="mrpt::poses::CPoint3D::classCPoint3D" ref="af81a693510b295be740a8a4c15d787d3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a> <a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#af81a693510b295be740a8a4c15d787d3">mrpt::poses::CPoint3D::classCPoint3D</a><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_point3_d_8h_source.html#l00055">55</a> of file <a class="el" href="_c_point3_d_8h_source.html">CPoint3D.h</a>.</p>

</div>
</div>
<a class="anchor" id="a28ec2a03d277a8469b8ecfc81892afdf"></a><!-- doxytag: member="mrpt::poses::CPoint3D::classCSerializable" ref="a28ec2a03d277a8469b8ecfc81892afdf" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a> <a class="el" href="classmrpt_1_1utils_1_1_c_serializable.html#a28ec2a03d277a8469b8ecfc81892afdf">mrpt::utils::CSerializable::classCSerializable</a><code> [static, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_serializable_8h_source.html#l00056">56</a> of file <a class="el" href="_c_serializable_8h_source.html">CSerializable.h</a>.</p>

</div>
</div>
<a class="anchor" id="abd21d0f6d7730627d5327b86f6c8343c"></a><!-- doxytag: member="mrpt::poses::CPoint3D::classinfo" ref="abd21d0f6d7730627d5327b86f6c8343c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a>* <a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#abd21d0f6d7730627d5327b86f6c8343c">mrpt::poses::CPoint3D::classinfo</a><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_point3_d_8h_source.html#l00055">55</a> of file <a class="el" href="_c_point3_d_8h_source.html">CPoint3D.h</a>.</p>

</div>
</div>
<a class="anchor" id="afd95bf493d6bfce5e88b7df0a014232e"></a><!-- doxytag: member="mrpt::poses::CPoint3D::m_coords" ref="afd95bf493d6bfce5e88b7df0a014232e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1math_1_1_c_array_double.html">mrpt::math::CArrayDouble</a>&lt;3&gt; <a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html#afd95bf493d6bfce5e88b7df0a014232e">mrpt::poses::CPoint3D::m_coords</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>[x,y,z] </p>

<p>Definition at line <a class="el" href="_c_point3_d_8h_source.html#l00058">58</a> of file <a class="el" href="_c_point3_d_8h_source.html">CPoint3D.h</a>.</p>

</div>
</div>
</div>
<br><hr><br> <table border="0" width="100%"> <tr> <td> Page generated by <a href="http://www.doxygen.org" target="_blank">Doxygen 1.7.5</a> for MRPT 0.9.5 SVN: at Sun Sep 25 17:20:18 UTC 2011</td><td></td> <td width="100"> </td> <td width="150">  </td></tr> </table>  </body></html>