#include <string>#include <vector>#include <algorithm>Include dependency graph for geometry.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Namespaces | |
| namespace | EMAN |
Classes | |
| class | EMAN::IntSize |
| IntSize is used to describe a 1D, 2D or 3D rectangular size in integers. More... | |
| class | EMAN::FloatSize |
| FloatSize is used to describe a 1D, 2D or 3D rectangular size in floating numbers. More... | |
| class | EMAN::IntPoint |
| IntPoint defines an integer-coordinate point in a 1D/2D/3D space. More... | |
| class | EMAN::FloatPoint |
| FloatPoint defines a float-coordinate point in a 1D/2D/3D space. More... | |
| class | EMAN::Pixel |
| Pixel describes a 3D pixel's coordinates and its intensity value. More... | |
| class | EMAN::Region |
| Region defines a 2D or 3D rectangular region specified by its origin coordinates and all edges' sizes. More... | |
Functions | |
| IntPoint | operator- (const IntPoint &p) |
| bool | operator< (const Pixel &p1, const Pixel &p2) |
| bool | operator== (const Pixel &p1, const Pixel &p2) |
| bool | operator!= (const Pixel &p1, const Pixel &p2) |
|
||||||||||||
|
Definition at line 62 of file geometry.cpp. 00063 {
00064 return !(p1 == p2);
00065 }
|
|
|
Definition at line 41 of file geometry.cpp. 00042 {
00043 return IntPoint(-p[0],-p[1],-p[2]);
00044 }
|
|
||||||||||||
|
Definition at line 46 of file geometry.cpp. References EMAN::Pixel::value.
|
|
||||||||||||
|
Definition at line 54 of file geometry.cpp. References EMAN::Pixel::value, EMAN::Pixel::x, EMAN::Pixel::y, and EMAN::Pixel::z. 00055 {
00056 if (p1.x == p2.x && p1.y == p2.y && p1.z == p2.z && p1.value == p2.value) {
00057 return true;
00058 }
00059 return false;
00060 }
|
1.3.9.1