a cartesian coordinate in 3D space.
More...
List of all members.
Detailed Description
a cartesian coordinate in 3D space.
Constructor & Destructor Documentation
| Coord3::Coord3 |
( |
|
) |
[inline] |
| Coord3::Coord3 |
( |
const Coord & |
a, |
|
|
double |
z_ | |
|
) |
| | [inline] |
| Coord3::Coord3 |
( |
const Coord3 & |
xyz |
) |
[inline] |
| Coord3::Coord3 |
( |
double |
x_, |
|
|
double |
y_, |
|
|
double |
z_ | |
|
) |
| | [inline] |
Member Function Documentation
| double Coord3::abs |
( |
|
) |
const [virtual] |
| Coord& Coord3::coord |
( |
|
) |
[inline] |
| const Coord& Coord3::coord |
( |
|
) |
const [inline] |
| double Coord3::distTo |
( |
const Coord3 & |
b |
) |
const |
| double Coord3::dot |
( |
const Coord3 & |
b |
) |
const [inline] |
| void Coord3::fill |
( |
char * |
str |
) |
const [inline] |
Reimplemented from Coord.
| void Coord3::fill |
( |
char * |
, |
|
|
const char * |
start, |
|
|
const char * |
space, |
|
|
const char * |
end | |
|
) |
| | const |
| bool Coord3::isDefined |
( |
|
) |
const [inline, virtual] |
| Coord3 Coord3::normalize |
( |
|
) |
const [inline] |
Reimplemented from Coord.
| bool Coord3::operator!= |
( |
const Coord3 & |
b |
) |
const [inline] |
| Coord3 Coord3::operator* |
( |
double |
factor |
) |
const [inline] |
| Coord3 & Coord3::operator*= |
( |
double |
factor |
) |
[inline, virtual] |
| Coord3 Coord3::operator+ |
( |
const Coord3 & |
p |
) |
const [inline] |
| Coord3 Coord3::operator- |
( |
const Coord3 & |
p |
) |
const [inline] |
| Coord3 Coord3::operator- |
( |
|
) |
const [inline] |
| Coord3 Coord3::operator/ |
( |
double |
denominator |
) |
const [inline] |
| Coord3 & Coord3::operator/= |
( |
double |
denominator |
) |
[inline, virtual] |
| bool Coord3::operator== |
( |
const Coord3 & |
b |
) |
const [inline] |
| double Coord3::operator[] |
( |
int |
idx |
) |
const [inline, virtual] |
| double& Coord3::operator[] |
( |
int |
idx |
) |
[inline, virtual] |
| Coord3 Coord3::scaleBy |
( |
const Coord3 & |
factor |
) |
const [inline] |
| double Coord3::sqAbs |
( |
|
) |
const [virtual] |
| double Coord3::sqDistTo |
( |
const Coord3 & |
b |
) |
const |
| static const Coord3& Coord3::udf |
( |
|
) |
[static] |
Reimplemented from Coord.
| Coord3 Coord3::unScaleBy |
( |
const Coord3 & |
denominator |
) |
const [inline] |
| bool Coord3::use |
( |
const char * |
|
) |
|
Reimplemented from Coord.
Member Data Documentation