Main MRPT website > C++ reference for MRPT 1.5.6
List of all members | Public Types | Public Member Functions | Public Attributes

Detailed Description

Lightweight 3D point (float version).

See Also
mrpt::poses::CPoint3D, mrpt::math::TPoint3D

Definition at line 224 of file lightweight_geom_data.h.

#include <mrpt/math/lightweight_geom_data.h>

Public Types

enum  { static_size = 3 }

Public Member Functions

 TPoint3Df ()
 TPoint3Df (const float xx, const float yy, const float zz)
TPoint3Dfoperator+= (const TPoint3Df &p)
TPoint3Df operator* (const float s)
float & operator[] (size_t i)
 Coordinate access using operator[]. More...
const float & operator[] (size_t i) const
 Coordinate access using operator[]. More...

Public Attributes

float x
float y
float z

Member Enumeration Documentation

anonymous enum

Definition at line 226 of file lightweight_geom_data.h.

Constructor & Destructor Documentation

mrpt::math::TPoint3Df::TPoint3Df ( )

Definition at line 231 of file lightweight_geom_data.h.

mrpt::math::TPoint3Df::TPoint3Df ( const float  xx,
const float  yy,
const float  zz 

Definition at line 232 of file lightweight_geom_data.h.

Member Function Documentation

TPoint3Df mrpt::math::TPoint3Df::operator* ( const float  s)

Definition at line 234 of file lightweight_geom_data.h.

TPoint3Df& mrpt::math::TPoint3Df::operator+= ( const TPoint3Df p)

Definition at line 233 of file lightweight_geom_data.h.

References x, y, and z.

float& mrpt::math::TPoint3Df::operator[] ( size_t  i)

Coordinate access using operator[].

Order: x,y,z

Definition at line 236 of file lightweight_geom_data.h.

const float& mrpt::math::TPoint3Df::operator[] ( size_t  i) const

Coordinate access using operator[].

Order: x,y,z

Definition at line 239 of file lightweight_geom_data.h.

Member Data Documentation

float mrpt::math::TPoint3Df::x
float mrpt::math::TPoint3Df::y
float mrpt::math::TPoint3Df::z

Page generated by Doxygen 1.8.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018