Public Types | Public Member Functions | Public Attributes

mln::fun::x2p::closest_point< P > Struct Template Reference

FIXME: doxygen + concept checking. More...

#include <closest_point.hh>

List of all members.

Public Types

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

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

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.


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.


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.

References mln::fun::x2p::closest_point< P >::box_.

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

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.

Referenced by mln::fun::x2p::closest_point< P >::domain().

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

Definition at line 87 of file closest_point.hh.

Referenced by mln::fun::x2p::closest_point< P >::operator()().

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

Definition at line 84 of file closest_point.hh.

Referenced by mln::fun::x2p::closest_point< P >::operator()().