|
homog2d library
|
Holds functors, used to manage runtime polymorphism using std::variant. See https://github.com/skramm/homog2d/blob/master/docs/homog2d_manual.md#section_rtp.
More...
Classes | |
| struct | AreaFunct |
| A functor to get the area of an object in a std::variant, call with std::visit() More... | |
| struct | BBFunct |
| A functor to get the Bounding Box. More... | |
| struct | DrawFunct |
| A functor used to draw objects. To use with std::variant and std::visit() More... | |
| struct | DTypeFunct |
| struct | LengthFunct |
| A functor to get the length of an object in a std::variant, call with std::visit() More... | |
| struct | PtPairFunct |
| A functor to get pair of points englobing the element. More... | |
| struct | SizeFunct |
| A functor to get the size (nb of points) of an object in a std::variant, call with std::visit() More... | |
| class | TransformFunct |
| A functor used to apply a homography matrix to an object. More... | |
| struct | TypeFunct |
| A functor to get the type of an object in a std::variant, call with std::visit() More... | |
| struct | VariantUnwrapper |
| Convert std::variant object into the underlying type. More... | |
Functions | |
| template<typename... Ts> | |
| VariantUnwrapper (const std::variant< Ts... > &) -> VariantUnwrapper< Ts... > | |
| Fix for the above VariantUnwrapper for C++17. More... | |
Holds functors, used to manage runtime polymorphism using std::variant. See https://github.com/skramm/homog2d/blob/master/docs/homog2d_manual.md#section_rtp.
| h2d::fct::VariantUnwrapper | ( | const std::variant< Ts... > & | ) | -> VariantUnwrapper< Ts... > |
Fix for the above VariantUnwrapper for C++17.
(may be removed when we switch to C++20)

1.8.13