#include <TupleThreeD.h>
Public Member Functions | |
TupleThreeD () | |
Ctor. | |
TupleThreeD (double x, double y, double z) | |
Ctor. | |
TupleThreeD (const TupleThreeD &rhs) | |
Copy ctor. | |
virtual | ~TupleThreeD () |
Dtor. | |
TupleThreeD & | operator= (const TupleThreeD &rhs) |
Assignment operator. | |
bool | operator== (const TupleThreeD &rhs) const |
Equality operator. | |
bool | operator!= (const TupleThreeD &rhs) const |
Inequality operator. | |
const TupleThreeD & | value (double x, double y, double z) |
Specify a value directly. | |
const TupleThreeD & | value (double a[3]) |
Specify a value directly. | |
const TupleThreeD & | value () const |
Give the value of this object. | |
double | X () const |
Give the value of the x domain. | |
double | Y () const |
Give the value of the y domain. | |
double | Z () const |
Give the value of the z domain. | |
double | operator * (const TupleThreeD &rhs) const |
Dot product operator. | |
const TupleThreeD & | operator+ (const TupleThreeD &rhs) const |
Addition operator. | |
const TupleThreeD & | operator- (const TupleThreeD &rhs) const |
Subtraction operator. |
Definition at line 10 of file TupleThreeD.h.
TupleThreeD::TupleThreeD | ( | ) |
Ctor.
TupleThreeD::TupleThreeD | ( | double | x, | |
double | y, | |||
double | z | |||
) |
Ctor.
x | The initial x domain value. | |
y | The initial y domain value. | |
z | The initial z domain value. |
TupleThreeD::TupleThreeD | ( | const TupleThreeD & | rhs | ) |
Copy ctor.
rhs | The reference object. |
virtual TupleThreeD::~TupleThreeD | ( | ) | [virtual] |
Dtor.
TupleThreeD& TupleThreeD::operator= | ( | const TupleThreeD & | rhs | ) |
Assignment operator.
rhs | The reference object. |
bool TupleThreeD::operator== | ( | const TupleThreeD & | rhs | ) | const |
Equality operator.
rhs | The reference object. |
bool TupleThreeD::operator!= | ( | const TupleThreeD & | rhs | ) | const |
Inequality operator.
rhs | The reference object. |
const TupleThreeD& TupleThreeD::value | ( | double | x, | |
double | y, | |||
double | z | |||
) |
Specify a value directly.
x | The value of the x domain. | |
y | The value of the y domain. | |
z | The value of the z domain. |
const TupleThreeD& TupleThreeD::value | ( | double | a[3] | ) |
Specify a value directly.
a | The value (x, y, z). |
const TupleThreeD& TupleThreeD::value | ( | ) | const |
Give the value of this object.
double TupleThreeD::X | ( | ) | const |
Give the value of the x domain.
double TupleThreeD::Y | ( | ) | const |
Give the value of the y domain.
double TupleThreeD::Z | ( | ) | const |
Give the value of the z domain.
double TupleThreeD::operator * | ( | const TupleThreeD & | rhs | ) | const |
Dot product operator.
rhs | The argument to be multiplied with this object. |
const TupleThreeD& TupleThreeD::operator+ | ( | const TupleThreeD & | rhs | ) | const |
Addition operator.
rhs | The argument to be added with this object. |
const TupleThreeD& TupleThreeD::operator- | ( | const TupleThreeD & | rhs | ) | const |
Subtraction operator.
rhs | The argument to be subtracted from this object. |