#include <iostream>#include <cmath>#include <celmath/mathlib.h>#include "univcoord.h"Include dependency graph for univcoord.cpp:

Go to the source code of this file.
Functions | |
| UniversalCoord | operator+ (const UniversalCoord &uc0, const UniversalCoord &uc1) |
| UniversalCoord | operator+ (const UniversalCoord &uc, const Vec3f &v) |
| UniversalCoord | operator+ (const UniversalCoord &uc, const Vec3d &v) |
| UniversalCoord | operator- (const UniversalCoord &uc, const Vec3f &v) |
| UniversalCoord | operator- (const UniversalCoord &uc, const Vec3d &v) |
| Vec3f | operator- (const Point3f &p, const UniversalCoord &uc) |
| Vec3f | operator- (const UniversalCoord &uc, const Point3f &p) |
| Vec3d | operator- (const Point3d &p, const UniversalCoord &uc) |
| Vec3d | operator- (const UniversalCoord &uc, const Point3d &p) |
| Vec3d | operator- (const UniversalCoord &uc0, const UniversalCoord &uc1) |
|
||||||||||||
|
Definition at line 120 of file univcoord.cpp.
|
|
||||||||||||
|
Definition at line 99 of file univcoord.cpp. 00100 {
00101 return UniversalCoord(uc.x + BigFix((double) v.x),
00102 uc.y + BigFix((double) v.y),
00103 uc.z + BigFix((double) v.z));
00104 }
|
|
||||||||||||
|
Definition at line 92 of file univcoord.cpp. 00093 {
00094 return UniversalCoord(uc.x + (BigFix) v.x,
00095 uc.y + (BigFix) v.y,
00096 uc.z + (BigFix) v.z);
00097 }
|
|
||||||||||||
|
Definition at line 113 of file univcoord.cpp. 00114 {
00115 return UniversalCoord(uc.x - BigFix((double) v.x),
00116 uc.y - BigFix((double) v.y),
00117 uc.z - BigFix((double) v.z));
00118 }
|
|
||||||||||||
|
Definition at line 106 of file univcoord.cpp. 00107 {
00108 return UniversalCoord(uc.x - BigFix(v.x),
00109 uc.y - BigFix(v.y),
00110 uc.z - BigFix(v.z));
00111 }
|
|
||||||||||||
|
Definition at line 85 of file univcoord.cpp. 00086 {
00087 return Vec3f((float) ((BigFix) p.x - uc.x),
00088 (float) ((BigFix) p.y - uc.y),
00089 (float) ((BigFix) p.z - uc.z));
00090 }
|
|
||||||||||||
|
Definition at line 78 of file univcoord.cpp. 00079 {
00080 return Vec3f((float) (uc.x - (BigFix) p.x),
00081 (float) (uc.y - (BigFix) p.y),
00082 (float) (uc.z - (BigFix) p.z));
00083 }
|
|
||||||||||||
|
Definition at line 71 of file univcoord.cpp. 00072 {
00073 return Vec3d((double) ((BigFix) p.x - uc.x),
00074 (double) ((BigFix) p.y - uc.y),
00075 (double) ((BigFix) p.z - uc.z));
00076 }
|
|
||||||||||||
|
Definition at line 64 of file univcoord.cpp. 00065 {
00066 return Vec3d((double) (uc.x - (BigFix) p.x),
00067 (double) (uc.y - (BigFix) p.y),
00068 (double) (uc.z - (BigFix) p.z));
00069 }
|
|
||||||||||||
|
Definition at line 57 of file univcoord.cpp. 00058 {
00059 return Vec3d((double) (uc0.x - uc1.x),
00060 (double) (uc0.y - uc1.y),
00061 (double) (uc0.z - uc1.z));
00062 }
|
1.4.1