homog2d library
Public Member Functions | List of all members
h2d::fct::TransformFunct< FPT > Class Template Reference

A functor used to apply a homography matrix to an object. More...

#include <homog2d.hpp>

Public Member Functions

template<typename T >
CommonType_< FPT > operator() (const T &a)
 
 TransformFunct (const Homogr_< FPT > &h)
 

Detailed Description

template<typename FPT>
class h2d::fct::TransformFunct< FPT >

A functor used to apply a homography matrix to an object.

Constructor & Destructor Documentation

◆ TransformFunct()

template<typename FPT >
h2d::fct::TransformFunct< FPT >::TransformFunct ( const Homogr_< FPT > &  h)
inline
1049  : _h(h)
1050  {}

Member Function Documentation

◆ operator()()

template<typename FPT >
template<typename T >
CommonType_<FPT> h2d::fct::TransformFunct< FPT >::operator() ( const T &  a)
inline
1054  {
1055  return CommonType_<FPT>{_h * a};
1056  }

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