tlp::Coord Class Reference#include <Coord.h>
Inherits tlp::Vector< float, 3 >.
Inheritance diagram for tlp::Coord:
[legend]Collaboration diagram for tlp::Coord:
[legend]List of all members.
Detailed Description
Class for coordinates in 3D.
Public Member Functions
- Coord (const float=0, const float=0, const float=0)
- Coord (const tlp::Vector< float, 3 > &)
- void set (const float=0, const float=0, const float=0)
- void set (const Coord &)
- void setX (float)
- void setY (float)
- void setZ (float)
- float getX () const
- float getY () const
- float getZ () const
- void get (float &, float &, float &) const
- Coord operator+ (const tlp::Vector< float, 3 > &) const
- Coord operator+ (const float &) const
- Coord operator- (const tlp::Vector< float, 3 > &) const
- Coord operator- (const float &) const
- Coord operator/ (const tlp::Vector< float, 3 > &) const
- Coord operator/ (const float &) const
- Coord operator^ (const tlp::Vector< float, 3 > &) const
Constructor & Destructor Documentation
tlp::Coord::Coord |
( |
const |
float = 0 , |
|
|
const |
float = 0 , |
|
|
const |
float = 0 |
|
) |
[inline] |
|
tlp::Coord::Coord |
( |
const tlp::Vector< float, 3 > & |
|
) |
[inline] |
|
Member Function Documentation
void tlp::Coord::get |
( |
float & |
, |
|
|
float & |
, |
|
|
float & |
|
|
) |
const [inline] |
|
float tlp::Coord::getX |
( |
|
) |
const [inline] |
|
float tlp::Coord::getY |
( |
|
) |
const [inline] |
|
float tlp::Coord::getZ |
( |
|
) |
const [inline] |
|
Coord tlp::Coord::operator+ |
( |
const float & |
|
) |
const [inline] |
|
Coord tlp::Coord::operator- |
( |
const float & |
|
) |
const [inline] |
|
Coord tlp::Coord::operator/ |
( |
const float & |
|
) |
const [inline] |
|
void tlp::Coord::set |
( |
const Coord & |
|
) |
[inline] |
|
void tlp::Coord::set |
( |
const |
float = 0 , |
|
|
const |
float = 0 , |
|
|
const |
float = 0 |
|
) |
[inline] |
|
void tlp::Coord::setX |
( |
float |
|
) |
[inline] |
|
void tlp::Coord::setY |
( |
float |
|
) |
[inline] |
|
void tlp::Coord::setZ |
( |
float |
|
) |
[inline] |
|
|