#include <point.hh>
Inherits additive< Point, boost::additive2< Point, Size, boost::multipliable2< Point, int, boost::less_than_comparable< Point, boost::equality_comparable< Point > > > > >.
Inherited by Peak.
class encapsulating 1D to 3D point
Definition at line 43 of file point.hh.
◆ Point() [1/9]
◆ Point() [2/9]
◆ Point() [3/9]
1D int constructor
Definition at line 65 of file point.hh.
◆ Point() [4/9]
2D int constructor
Definition at line 73 of file point.hh.
◆ Point() [5/9]
Point |
( |
int |
a, |
|
|
int |
b, |
|
|
int |
c |
|
) |
| |
|
inline |
3D int constructor
Definition at line 81 of file point.hh.
◆ Point() [6/9]
conversion from Vec2
Definition at line 89 of file point.hh.
◆ Point() [7/9]
conversion from Vec3
Definition at line 98 of file point.hh.
◆ Point() [8/9]
conversion from Vec4 (normalization)
Definition at line 107 of file point.hh.
◆ Point() [9/9]
(implicit) conversion of size to point
◆ At() [1/2]
int& At |
( |
unsigned int |
index | ) |
|
|
inline |
◆ At() [2/2]
int At |
( |
unsigned int |
index | ) |
const |
|
inline |
◆ Mirror()
Point Mirror |
( |
int |
planes | ) |
|
return mirror point according to planes
◆ operator*=()
Point& operator*= |
( |
int |
s | ) |
|
|
inline |
◆ operator+=() [1/2]
◆ operator+=() [2/2]
◆ operator-()
Point operator- |
( |
| ) |
const |
◆ operator-=() [1/2]
◆ operator-=() [2/2]
◆ operator<()
bool operator< |
( |
const Point & |
p | ) |
const |
◆ operator=()
◆ operator==()
bool operator== |
( |
const Point & |
p | ) |
const |
◆ operator[]() [1/2]
int& operator[] |
( |
unsigned int |
index | ) |
|
|
inline |
◆ operator[]() [2/2]
int operator[] |
( |
unsigned int |
index | ) |
const |
|
inline |
◆ ToVec2()
◆ ToVec3()
◆ ToVec4()
The documentation for this class was generated from the following file:
- build-2.8-doc/stage/include/ost/img/point.hh