Point class of the ICL used e.g. for the Images ROI offset.
More...
#include <Point.h>
Point class of the ICL used e.g. for the Images ROI offset.
◆ Point() [1/4]
icl::utils::Point::Point |
( |
| ) |
|
|
inline |
◆ Point() [2/4]
icl::utils::Point::Point |
( |
const Point & |
p | ) |
|
|
inline |
◆ Point() [3/4]
icl::utils::Point::Point |
( |
const Point32f & |
p | ) |
|
Create a point from given float point (values are rounded)
◆ Point() [4/4]
icl::utils::Point::Point |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
inline |
◆ distanceTo()
float icl::utils::Point::distanceTo |
( |
const Point & |
p | ) |
const |
returns the euclidian distance to another point
◆ isNull()
bool icl::utils::Point::isNull |
( |
| ) |
const |
|
inline |
checks wether the object instance is null, i.e. all elements are zero
◆ operator *()
Point icl::utils::Point::operator * |
( |
double |
d | ) |
const |
|
inline |
scales a Points variables with a scalar value
◆ operator *=()
Point& icl::utils::Point::operator *= |
( |
double |
d | ) |
|
|
inline |
scales the Point inplace with a scalar
◆ operator!=()
bool icl::utils::Point::operator!= |
( |
const Point & |
s | ) |
const |
|
inline |
checks if two points are not equal
◆ operator+()
Point icl::utils::Point::operator+ |
( |
const Point & |
s | ) |
const |
|
inline |
adds two Points as vectors
◆ operator+=()
Point& icl::utils::Point::operator+= |
( |
const Point & |
s | ) |
|
|
inline |
Adds another Point inplace.
◆ operator-()
Point icl::utils::Point::operator- |
( |
const Point & |
s | ) |
const |
|
inline |
substracts two Points as vectors
◆ operator-=()
Point& icl::utils::Point::operator-= |
( |
const Point & |
s | ) |
|
|
inline |
Substacts another Point inplace.
◆ operator==()
bool icl::utils::Point::operator== |
( |
const Point & |
s | ) |
const |
|
inline |
checks if two points are equal
◆ operator[]() [1/2]
int& icl::utils::Point::operator[] |
( |
int |
i | ) |
|
|
inline |
index based interface (returns i?y:x)
◆ operator[]() [2/2]
const int& icl::utils::Point::operator[] |
( |
int |
i | ) |
const |
|
inline |
index based interface, const (returns i?y:x)
◆ transform()
Point icl::utils::Point::transform |
( |
double |
xfac, |
|
|
double |
yfac |
|
) |
| const |
|
inline |
transforms the point by element-wise scaling
◆ null
const Point icl::utils::Point::null |
|
static |
The documentation for this class was generated from the following file:
- /Users/alneuman/vm/icl/ICLUtils/src/ICLUtils/Point.h