48                 throw std::out_of_range(
"index out of range");
    61                 throw std::out_of_range(
"index out of range");
 bool contains(const TPoint3D &point) const
Check whether a point is inside the segment. 
 
TSegment3D(const TSegment2D &s)
Constructor from 2D object. 
 
mrpt::serialization::CArchive & operator>>(mrpt::serialization::CArchive &in, CMatrixD::Ptr &pObj)
 
TPoint3D point1
origin point 
 
This base provides a set of functions for maths stuff. 
 
2D segment, consisting of two points. 
 
3D segment, consisting of two points. 
 
TPoint3D point2
final point 
 
double length() const
Segment length. 
 
const TPoint3D & operator[](size_t i) const
Access to points using operator[0-1]. 
 
bool operator<(const TSegment3D &s) const
 
#define MRPT_DECLARE_TTYPENAME_NO_NAMESPACE(_TYPE, __NS)
Declares a typename to be "type" (without the NS prefix) 
 
void getCenter(TPoint3D &p) const
Segment's central point. 
 
double distance(const TPoint3D &point) const
Distance to point. 
 
constexpr bool operator==(const TPoint2D_< T > &p1, const TPoint2D_< T > &p2)
Exact comparison between 2D points. 
 
constexpr bool operator!=(const TPoint2D_< T > &p1, const TPoint2D_< T > &p2)
Exact comparison between 2D points. 
 
Virtual base class for "archives": classes abstracting I/O streams. 
 
mrpt::vision::TStereoCalibResults out
 
mrpt::serialization::CArchive & operator<<(mrpt::serialization::CArchive &s, const CVectorFloat &a)
 
TPoint3D & operator[](size_t i)
Access to points using operator[0-1]. 
 
TSegment3D(const TPoint3D &p1, const TPoint3D &p2)
Constructor from both points. 
 
void generate2DObject(TSegment2D &s) const
Projection into 2D space, discarding the z. 
 
TSegment3D()=default
Fast default constructor.