#include <point3o.h>


Definition at line 35 of file point3o.h.
Operators | |
| Point3o< Numeric > | operator- (const Point3o< Numeric > &p) const |
| Subtracts two vectors. | |
| Point3o< Numeric > | operator+ (const Point3o< Numeric > &p) const |
| Adds two vectors. | |
| Point3o< Numeric > | operator* (const Numeric &n) const |
| Multiplies components by n. | |
| Point2o< Numeric > | point2o () const |
| Generates a point2o from the x,y,theta components. | |
| static double * | rollPitchYawMatrix (double roll, double pitch, double yaw) |
Public Member Functions | |
Constructors | |
| Point3o () | |
| Point3o (Numeric x, Numeric y, Numeric z, double theta, double phi, double gamma) | |
| Point3o (const Point2o< Numeric > &p, Numeric z=0, double phi=0, double gamma=0) | |
| Point3o (const Point3o< Numeric > &p) | |
Tests | |
| bool | operator== (const Point3o< Numeric > &p) const |
| bool | operator!= (const Point3o< Numeric > &p) const |
Output functions | |
| std::string | toString () const |
| String representation (x,y,z;theta,gamma,phi). | |
| std::string | outputSpaceSeparated () const |
| A string representation. Example: " x y z theta phi gamma". | |
Data Fields | |
| Numeric | z |
| double | phi |
| theta=roll, phi=pitch, gamma=yaw | |
| double | gamma |
| RDK2::Geometry::Point3o< Numeric >::Point3o | ( | ) | [inline] |
| RDK2::Geometry::Point3o< Numeric >::Point3o | ( | Numeric | x, | |
| Numeric | y, | |||
| Numeric | z, | |||
| double | theta, | |||
| double | phi, | |||
| double | gamma | |||
| ) | [inline] |
| RDK2::Geometry::Point3o< Numeric >::Point3o | ( | const Point2o< Numeric > & | p, | |
| Numeric | z = 0, |
|||
| double | phi = 0, |
|||
| double | gamma = 0 | |||
| ) | [inline, explicit] |
| RDK2::Geometry::Point3o< Numeric >::Point3o | ( | const Point3o< Numeric > & | p | ) | [inline] |
| Point3o<Numeric> RDK2::Geometry::Point3o< Numeric >::operator- | ( | const Point3o< Numeric > & | p | ) | const [inline] |
| Point3o<Numeric> RDK2::Geometry::Point3o< Numeric >::operator+ | ( | const Point3o< Numeric > & | p | ) | const [inline] |
| Point3o<Numeric> RDK2::Geometry::Point3o< Numeric >::operator* | ( | const Numeric & | n | ) | const [inline] |
| static double* RDK2::Geometry::Point3o< Numeric >::rollPitchYawMatrix | ( | double | roll, | |
| double | pitch, | |||
| double | yaw | |||
| ) | [inline, static] |
| Point2o<Numeric> RDK2::Geometry::Point3o< Numeric >::point2o | ( | ) | const [inline] |
| bool RDK2::Geometry::Point3o< Numeric >::operator== | ( | const Point3o< Numeric > & | p | ) | const [inline] |
| bool RDK2::Geometry::Point3o< Numeric >::operator!= | ( | const Point3o< Numeric > & | p | ) | const [inline] |
| std::string RDK2::Geometry::Point3o< Numeric >::toString | ( | ) | const [inline] |
String representation (x,y,z;theta,gamma,phi).
A string representation, with
,
and
expressed in degrees. Example:
"(1,2,3;90�,3�,45�)"
Reimplemented from RDK2::Geometry::Point2o< Numeric >.
| std::string RDK2::Geometry::Point3o< Numeric >::outputSpaceSeparated | ( | ) | const [inline] |
A string representation. Example: " x y z theta phi gamma".
Reimplemented from RDK2::Geometry::Point2o< Numeric >.
| Numeric RDK2::Geometry::Point3o< Numeric >::z |
Definition at line 41 of file point3o.h.
Referenced by RDK2::Geometry::mm2m(), RDK2::Geometry::Point3o< double >::operator*(), RDK2::Geometry::Point3o< double >::operator+(), RDK2::Geometry::Point3o< double >::operator-(), RDK2::Geometry::Point3o< double >::operator==(), RDK2::Geometry::operator>>(), RDK2::Geometry::Point3o< double >::outputSpaceSeparated(), RDK2::Geometry::Point3o< double >::toString(), RDK2::Geometry::Trans3d(), and RDK2::Geometry::weightedMean().
| double RDK2::Geometry::Point3o< Numeric >::phi |
theta=roll, phi=pitch, gamma=yaw
Definition at line 45 of file point3o.h.
Referenced by RDK2::SensorData::LaserData::getLaserPitch(), RDK2::Geometry::mm2m(), RDK2::Geometry::Point3o< double >::operator*(), RDK2::Geometry::Point3o< double >::operator+(), RDK2::Geometry::Point3o< double >::operator-(), RDK2::Geometry::Point3o< double >::operator==(), RDK2::Geometry::operator>>(), RDK2::Geometry::Point3o< double >::outputSpaceSeparated(), RDK2::SensorData::LaserData::setLaserRollPitchYaw(), RDK2::Geometry::Point3o< double >::toString(), RDK2::Geometry::Trans3d(), and RDK2::Geometry::weightedMean().
| double RDK2::Geometry::Point3o< Numeric >::gamma |
Definition at line 45 of file point3o.h.
Referenced by RDK2::SensorData::LaserData::getLaserYaw(), RDK2::Geometry::mm2m(), RDK2::Geometry::Point3o< double >::operator*(), RDK2::Geometry::Point3o< double >::operator+(), RDK2::Geometry::Point3o< double >::operator-(), RDK2::Geometry::Point3o< double >::operator==(), RDK2::Geometry::operator>>(), RDK2::Geometry::Point3o< double >::outputSpaceSeparated(), RDK2::SensorData::LaserData::setLaserRollPitchYaw(), RDK2::Geometry::Point3o< double >::toString(), and RDK2::Geometry::Trans3d().
1.5.6