Commit 785eba81 authored by Roland Levillain's avatar Roland Levillain
Browse files

Have mln::topo::is_n_face<B> expose a more tolerant interface.

	* mln/topo/is_n_face.hh
	(is_n_face<N>::operator()(const mln::complex_psite<D, G>& p) const):
	Turn into...
	(is_n_face<N>::operator()(const P& p) const):
	...this.

git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4577 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent a89edee4
2009-09-29 Roland Levillain <roland@lrde.epita.fr>
Have mln::topo::is_n_face<B> expose a more tolerant interface.
* mln/topo/is_n_face.hh
(is_n_face<N>::operator()(const mln::complex_psite<D, G>& p) const):
Turn into...
(is_n_face<N>::operator()(const P& p) const):
...this.
2009-09-29 Roland Levillain <roland@lrde.epita.fr>
 
Make complex window and complex neighborhood piters symmetric.
......@@ -49,18 +49,18 @@ namespace mln
{
typedef bool result;
template <unsigned D, typename G>
bool operator()(const mln::complex_psite<D, G>& p) const;
template <typename P>
bool operator()(const P& p) const;
};
# ifndef MLN_INCLUDE_ONLY
template <unsigned N>
template <unsigned D, typename G>
template <typename P>
inline
bool
is_n_face<N>::operator()(const mln::complex_psite<D, G>& p) const
is_n_face<N>::operator()(const P& p) const
{
return p.n() == N;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment