tlp::Coord(3) Class for coordinates in 3D.

SYNOPSIS


#include <Coord.h>

Inherits Vector< float, 3 >.

Public Member Functions


Coord ()

Coord (const float)

Coord (const float, const float, 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

bool operator!= (const Coord &) const

bool operator== (const Coord &) const

Detailed Description

Class for coordinates in 3D.

Constructor & Destructor Documentation

tlp::Coord::Coord () [inline]

tlp::Coord::Coord (const float val) [inline]

tlp::Coord::Coord (const float xx, const float yy, const float zz = 0) [inline]

tlp::Coord::Coord (const tlp::Vector< float, 3 > & v) [inline]

Member Function Documentation

void tlp::Coord::get (float & xx, float & yy, float & zz) const [inline]

float tlp::Coord::getX () const [inline]

float tlp::Coord::getY () const [inline]

float tlp::Coord::getZ () const [inline]

bool tlp::Coord::operator!= (const Coord & p) const [inline]

tlp::Coord tlp::Coord::operator+ (const float & scalaire) const [inline]

tlp::Coord tlp::Coord::operator+ (const tlp::Vector< float, 3 > & v) const [inline]

tlp::Coord tlp::Coord::operator- (const float & scalaire) const [inline]

tlp::Coord tlp::Coord::operator- (const tlp::Vector< float, 3 > & v) const [inline]

tlp::Coord tlp::Coord::operator/ (const float & scalaire) const [inline]

tlp::Coord tlp::Coord::operator/ (const tlp::Vector< float, 3 > & v) const [inline]

bool tlp::Coord::operator== (const Coord & p) const [inline]

tlp::Coord tlp::Coord::operator^ (const tlp::Vector< float, 3 > & v) const [inline]

void tlp::Coord::set (const Coord & c) [inline]

void tlp::Coord::set (const float xx = 0, const float yy = 0, const float zz = 0) [inline]

void tlp::Coord::setX (float xx) [inline]

void tlp::Coord::setY (float yy) [inline]

void tlp::Coord::setZ (float zz) [inline]

Author

Generated automatically by Doxygen for Tulip Graph Library from the source code.