$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::fun::x2p::closest_point< P > Struct Template Reference

#include <mln/fun/x2p/closest_point.hh>

Public Member Functions

 closest_point (const p_array< P > &X, const box< P > &box)
const box< P > & domain () const
result operator() (const input &Ck) const

Public Attributes

const box< P > box_
unsigned log_functor_call
const p_array< P > & X

Public Types

typedef algebra::vec< P::dim,
float
input
typedef P result

Detailed Description

template<typename P>
struct mln::fun::x2p::closest_point< P >

FIXME: doxygen + concept checking.

Definition at line 45 of file closest_point.hh.

Constructor & Destructor Documentation

template<typename P >
mln::fun::x2p::closest_point< P >::closest_point ( const p_array< P > &  X,
const box< P > &  box 
)
inline

Definition at line 50 of file closest_point.hh.

Member Function Documentation

template<typename P >
const box<P>& mln::fun::x2p::closest_point< P >::domain ( ) const
inline

Definition at line 78 of file closest_point.hh.

template<typename P >
result mln::fun::x2p::closest_point< P >::operator() ( const input Ck) const
inline

Definition at line 58 of file closest_point.hh.

Member Data Documentation

template<typename P >
const box<P> mln::fun::x2p::closest_point< P >::box_

Definition at line 83 of file closest_point.hh.

template<typename P >
unsigned mln::fun::x2p::closest_point< P >::log_functor_call
mutable

Definition at line 87 of file closest_point.hh.

template<typename P >
const p_array<P>& mln::fun::x2p::closest_point< P >::X

Definition at line 84 of file closest_point.hh.

Member Typedef Documentation

template<typename P >
typedef algebra::vec<P::dim, float> mln::fun::x2p::closest_point< P >::input

Definition at line 47 of file closest_point.hh.

template<typename P >
typedef P mln::fun::x2p::closest_point< P >::result

Definition at line 48 of file closest_point.hh.