a cartesian coordinate in 2D space.
More...
List of all members.
Detailed Description
a cartesian coordinate in 2D space.
Constructor & Destructor Documentation
| Coord::Coord |
( |
|
) |
[inline] |
| Coord::Coord |
( |
double |
cx, |
|
|
double |
cy | |
|
) |
| | [inline] |
Member Function Documentation
| double Coord::angle |
( |
const Coord & |
from, |
|
|
const Coord & |
to | |
|
) |
| | const |
| double Coord::cosAngle |
( |
const Coord & |
from, |
|
|
const Coord & |
to | |
|
) |
| | const |
saves the expensive acos() call
| double Coord::dot |
( |
const Coord & |
|
) |
const |
| void Coord::fill |
( |
char * |
|
) |
const |
| Coord Coord::normalize |
( |
|
) |
const |
| bool Coord::operator!= |
( |
const Coord & |
crd |
) |
const [inline] |
| bool Coord::operator< |
( |
const Coord & |
crd |
) |
const [inline] |
| bool Coord::operator== |
( |
const Coord & |
crd |
) |
const [inline] |
| bool Coord::operator> |
( |
const Coord & |
crd |
) |
const [inline] |
| static const Coord& Coord::udf |
( |
|
) |
[static] |
| bool Coord::use |
( |
const char * |
|
) |
|