Public Member Functions | Public Attributes
grid_map::Clamp< Scalar > Struct Template Reference

#include <Functors.hpp>

List of all members.

Public Member Functions

 Clamp (const Scalar &min, const Scalar &max)
const 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

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

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

Definition at line 21 of file Functors.hpp.


Member Data Documentation

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

Definition at line 25 of file Functors.hpp.

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 Mon Oct 9 2017 03:09:17