Public Member Functions | Public Attributes | List of all members
grid_map::Clamp< Scalar > Struct Template Reference

#include <Functors.hpp>

Public Member Functions

 Clamp (const Scalar &min, const Scalar &max)
 
Scalar operator() (const Scalar &x) const
 

Public Attributes

Scalar max_
 
Scalar min_
 

Detailed Description

template<typename Scalar>
struct grid_map::Clamp< Scalar >

Definition at line 14 of file Functors.hpp.

Constructor & Destructor Documentation

◆ Clamp()

template<typename Scalar >
grid_map::Clamp< Scalar >::Clamp ( const Scalar &  min,
const Scalar &  max 
)
inline

Definition at line 16 of file Functors.hpp.

Member Function Documentation

◆ operator()()

template<typename Scalar >
Scalar grid_map::Clamp< Scalar >::operator() ( const Scalar &  x) const
inline

Definition at line 21 of file Functors.hpp.

Member Data Documentation

◆ max_

template<typename Scalar >
Scalar grid_map::Clamp< Scalar >::max_

Definition at line 25 of file Functors.hpp.

◆ min_

template<typename Scalar >
Scalar grid_map::Clamp< Scalar >::min_

Definition at line 25 of file Functors.hpp.


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


grid_map_core
Author(s): Péter Fankhauser
autogenerated on Wed Jul 5 2023 02:23:35