DGtal  0.6.devel
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Static Public Member Functions
FindAndGetValue< I, S, D, V > Struct Template Reference

Static Public Member Functions

static bool implementation (const I &aImg, const S &aSet, const typename D::Point &aPoint, V &aValue)

Detailed Description

template<typename I, typename S, typename D, typename V>
struct FindAndGetValue< I, S, D, V >

Definition at line 298 of file ImageHelper.ih.


Member Function Documentation

template<typename I , typename S , typename D , typename V >
static bool FindAndGetValue< I, S, D, V >::implementation ( const I &  aImg,
const S &  aSet,
const typename D::Point &  aPoint,
V &  aValue 
)
inlinestatic

Definition at line 300 of file ImageHelper.ih.

Referenced by DGtal::findAndGetValue().

{
if ( aSet.find( aPoint ) != aSet.end() )
{
aValue = aImg( aPoint );
return true;
}
else return false;
}

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