Point Class Reference
class encapsulating 1D to 3D point
More...
#include <point.hh>
Inherited by Peak.
Detailed Description
class encapsulating 1D to 3D point
Definition at line 43 of file point.hh.
Constructor & Destructor Documentation
1D int constructor
Definition at line 65 of file point.hh.
Point |
( |
int |
a, |
|
|
int |
b | |
|
) |
| | [inline] |
2D int constructor
Definition at line 73 of file point.hh.
Point |
( |
int |
a, |
|
|
int |
b, |
|
|
int |
c | |
|
) |
| | [inline] |
3D int constructor
Definition at line 81 of file point.hh.
Point |
( |
const Vec2 & |
v |
) |
[inline, explicit] |
conversion from Vec2
Definition at line 89 of file point.hh.
Point |
( |
const Vec3 & |
v |
) |
[inline, explicit] |
conversion from Vec3
Definition at line 98 of file point.hh.
Point |
( |
const Vec4 & |
v |
) |
[inline, explicit] |
conversion from Vec4 (normalization)
Definition at line 107 of file point.hh.
(implicit) conversion of size to point
Member Function Documentation
int At |
( |
unsigned int |
index |
) |
const [inline] |
int& At |
( |
unsigned int |
index |
) |
[inline] |
Point Mirror |
( |
int |
planes |
) |
|
return mirror point according to planes
Point& operator*= |
( |
int |
s |
) |
[inline] |
Point operator- |
( |
|
) |
const |
bool operator< |
( |
const Point & |
p |
) |
const |
bool operator== |
( |
const Point & |
p |
) |
const |
int operator[] |
( |
unsigned int |
index |
) |
const [inline] |
int& operator[] |
( |
unsigned int |
index |
) |
[inline] |
Field Documentation
The documentation for this class was generated from the following file: