homog2d library
Public Member Functions | List of all members
h2d::fct::AreaFunct Struct Reference

A functor to get the area of an object in a std::variant, call with std::visit() More...

#include <homog2d.hpp>

Public Member Functions

template<typename T >
HOMOG2D_INUMTYPE operator() (const T &a)
 

Detailed Description

A functor to get the area of an object in a std::variant, call with std::visit()

See also
CommonType_
area()

Member Function Documentation

◆ operator()()

template<typename T >
HOMOG2D_INUMTYPE h2d::fct::AreaFunct::operator() ( const T &  a)
inline
1022  {
1023  return a.area();
1024  }

The documentation for this struct was generated from the following file: