|
OpenStructure
|
#include <point.hh>
Inherited by Peak.
Public Member Functions | |
| Point () | |
| Point (const Point &p) | |
| Point (int a) | |
| Point (int a, int b) | |
| Point (int a, int b, int c) | |
| Point (const Vec2 &v) | |
| Point (const Vec3 &v) | |
| Point (const Vec4 &v) | |
| Point (const Size &size) | |
| Point | Mirror (int planes) |
| int & | operator[] (unsigned int index) |
| int | operator[] (unsigned int index) const |
| int & | At (unsigned int index) |
| int | At (unsigned int index) const |
| Point & | operator= (const Point &p) |
| Point & | operator+= (const Point &p) |
| Point & | operator-= (const Point &p) |
| Point | operator- () const |
| Point & | operator+= (const Size &p) |
| Point & | operator-= (const Size &p) |
| bool | operator== (const Point &p) const |
| bool | operator< (const Point &p) const |
| Point & | operator*= (int s) |
| Vec2 | ToVec2 () const |
| Vec3 | ToVec3 () const |
| Vec4 | ToVec4 () const |
Data Fields | |
| int | x |
| int | y |
| int | z |
|
inlineexplicit |
| Point Mirror | ( | int | planes | ) |
return mirror point according to planes
| Point operator- | ( | ) | const |
| bool operator< | ( | const Point & | p | ) | const |
| bool operator== | ( | const Point & | p | ) | const |
| Vec2 ToVec2 | ( | ) | const |
| Vec3 ToVec3 | ( | ) | const |
| Vec4 ToVec4 | ( | ) | const |
1.8.1.1