Inheritance diagram for code::CTriplet:
Public Member Functions | |
CTriplet (double a=0, double b=0, double c=0) | |
Initialize from argument list; the default is a triplet of zeros. | |
CTriplet (const double v[]) | |
Initialize from C-style vector. | |
void | assign (double ix, double iy, double iz) |
operator const double * () const | |
Convert CTriplet to C-style vector of doubles. | |
Public Attributes | |
double | x |
X-coordinate. | |
double | y |
Y-coordinate. | |
double | z |
Z-coordinate. |
code::CTriplet::CTriplet | ( | double | a = 0 , |
|
double | b = 0 , |
|||
double | c = 0 | |||
) | [inline] |
Initialize from argument list; the default is a triplet of zeros.
code::CTriplet::CTriplet | ( | const double | v[] | ) | [inline] |
Initialize from C-style vector.
void code::CTriplet::assign | ( | double | ix, | |
double | iy, | |||
double | iz | |||
) | [inline] |
code::CTriplet::operator const double * | ( | ) | const [inline] |
Convert CTriplet to C-style vector of doubles.
double code::CTriplet::x |
X-coordinate.
double code::CTriplet::y |
Y-coordinate.
double code::CTriplet::z |
Z-coordinate.