#include <point.hpp>
template<typename T>
struct op::Point< T >
Definition at line 10 of file point.hpp.
◆ Point() [1/3]
◆ Point() [2/3]
Copy constructor. It performs fast copy
: For performance purpose, copying a Point<T> or Point<T> or cv::Mat just copies the reference, it still shares the same internal data. Modifying the copied element will modify the original one. Use clone() for a slower but real copy, similarly to cv::Mat and Point<T>.
- Parameters
-
◆ Point() [3/3]
Move constructor. It destroys the original Point to be moved.
- Parameters
-
◆ area()
◆ operator!=()
Not equal comparison operator.
- Parameters
-
point | Point<T> to be compared. |
- Returns
- Whether the instance satisfies the condition with respect to point.
Definition at line 122 of file point.hpp.
◆ operator*()
◆ operator*=()
◆ operator+() [1/2]
◆ operator+() [2/2]
◆ operator+=() [1/2]
◆ operator+=() [2/2]
◆ operator-() [1/2]
◆ operator-() [2/2]
◆ operator-=() [1/2]
◆ operator-=() [2/2]
◆ operator/()
◆ operator/=()
◆ operator<()
Less comparison operator.
- Parameters
-
point | Point<T> to be compared. |
- Returns
- Whether the instance satisfies the condition with respect to point.
Definition at line 72 of file point.hpp.
◆ operator<=()
Less or equal comparison operator.
- Parameters
-
point | Point<T> to be compared. |
- Returns
- Whether the instance satisfies the condition with respect to point.
Definition at line 92 of file point.hpp.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator==()
Equal comparison operator.
- Parameters
-
point | Point<T> to be compared. |
- Returns
- Whether the instance satisfies the condition with respect to point.
Definition at line 112 of file point.hpp.
◆ operator>()
Greater comparison operator.
- Parameters
-
point | Point<T> to be compared. |
- Returns
- Whether the instance satisfies the condition with respect to point.
Definition at line 82 of file point.hpp.
◆ operator>=()
Greater or equal comparison operator.
- Parameters
-
point | Point<T> to be compared. |
- Returns
- Whether the instance satisfies the condition with respect to point.
Definition at line 102 of file point.hpp.
◆ toString()
template<typename T >
std::string op::Point< T >::toString |
( |
| ) |
const |
It returns a string with the whole Point<T> data. Useful for debugging. The format is: [x, y]
- Returns
- A string with the Point<T> values in the above format.
The documentation for this struct was generated from the following file: