Include dependency graph for mappings.cpp:
Go to the source code of this file.
Functions | |
Pair | operator- (const Pair &A, const Pair &B) |
Returns A - B. | |
double | Pair_area (const Pair &A, const Pair &B) |
Returns area of the triangle generated by A, B, and O. | |
Variables | |
const bool | Use_cm = false |
Definition in file mappings.cpp.
|
Function that returns the vector difference A-B in a Pair. Definition at line 68 of file mappings.cpp. |
|
Function that returns 1/2 the vector cross product of A and B - 1/2(A X B), where the two elements of the Pair are considered to be two components of a vector. This is equivalent to the area of the triangle formed by A and B, both starting at the origin. Definition at line 75 of file mappings.cpp. |
|
Definition at line 48 of file mappings.cpp. Referenced by mappings::cm_to_lab(), mappings::J_cm_to_lab(), mappings::lab_to_cm(), mappings::mappings(), and mappings::set_map(). |