This class defines a circle given its center and radius.
More...
#include <types.hpp>
|
| Circ_ () |
|
| Circ_ (const cv::Point_< T > center, const T radius) |
|
bool | empty () const |
| Check if empty.
|
|
template<typename Te > |
bool | contains (const Event_< Te > &e) const |
| Check if the circle contains an event.
|
|
cv::Size | size () const |
|
double | area () const |
|
|
cv::Point_< T > | center |
|
T | radius |
|
template<typename T>
struct ev::Circ_< T >
This class defines a circle given its center and radius.
Analogously to OpenCV library, the following aliases are defined for convenience:
This class defines a circle given its center and radius.
Definition types.hpp:528
◆ Circ_() [1/2]
◆ Circ_() [2/2]
template<typename T >
ev::Circ_< T >::Circ_ |
( |
const cv::Point_< T > | center, |
|
|
const T | radius ) |
|
inline |
Constructor using center and radius.
- Parameters
-
center | Center |
radius | Radius |
◆ contains()
template<typename T >
template<typename Te >
Check if the circle contains an event.
- Parameters
-
- Returns
- True if the event is inside
- Warning
- This function assumes that the boundary of the circle is inclusive.
◆ empty()
Check if empty.
- Returns
- True if empty
The documentation for this struct was generated from the following file: