$extrastylesheet
#include <mln/core/site_set/complex_psite.hh>
Public Member Functions | |
bool | has_target () const |
const site & | to_site () const |
complex_psite () | |
complex_psite (const p_complex< D, G > &pc, const topo::face< D > &face) | |
complex_psite (const p_complex< D, G > &pc, unsigned n, unsigned face_id) | |
bool | is_valid () const |
void | invalidate () |
const target & | site_set () const |
const target * | target_ () const |
void | change_target (const target &new_target) |
const G::site & | subj_ () |
const topo::face< D > & | face () const |
unsigned | n () const |
unsigned | face_id () const |
Public Types | |
typedef Pseudo_Site< void > | category |
typedef complex_psite< D, G > | exact_t |
typedef mln::metal::unqualif < q_site_ >::ret | site |
typedef p_complex< D, G > | target |
typedef p_complex< D, G > | target_t |
Related Functions | |
(Note that these are not member functions.) | |
template<unsigned D, typename G > | |
std::ostream & | operator<< (std::ostream &ostr, const complex_psite< D, G > &p) |
template<unsigned D, typename G > | |
bool | operator== (const complex_psite< D, G > &lhs, const complex_psite< D, G > &rhs) |
template<unsigned D, typename G > | |
bool | operator< (const complex_psite< D, G > &lhs, const complex_psite< D, G > &rhs) |
Point site associated to a mln::p_complex.
D | The dimension of the complex this psite belongs to. |
G | The geometry of the complex. |
Definition at line 61 of file complex_psite.hh.
mln::complex_psite< D, G >::complex_psite | ( | ) |
Construction and assignment.
mln::complex_psite< D, G >::complex_psite | ( | const p_complex< D, G > & | pc, |
const topo::face< D > & | face | ||
) |
mln::complex_psite< D, G >::complex_psite | ( | const p_complex< D, G > & | pc, |
unsigned | n, | ||
unsigned | face_id | ||
) |
void mln::complex_psite< D, G >::change_target | ( | const target & | new_target | ) |
Set the target site_set.
const topo::face<D>& mln::complex_psite< D, G >::face | ( | ) | const |
Face handle manipulators.
Return the face handle of this point site.
unsigned mln::complex_psite< D, G >::face_id | ( | ) | const |
Return the id of the face of this psite.
|
inherited |
void mln::complex_psite< D, G >::invalidate | ( | ) |
Invalidate this psite.
bool mln::complex_psite< D, G >::is_valid | ( | ) | const |
Psite manipulators.
Is this psite valid?
unsigned mln::complex_psite< D, G >::n | ( | ) | const |
Return the dimension of the face of this psite.
const target& mln::complex_psite< D, G >::site_set | ( | ) | const |
Site set manipulators.
Return the mln::p_complex this site is built on. (shortcut for *target()).
const G ::site& mln::complex_psite< D, G >::subj_ | ( | ) |
INTERNAL_API Proxy manipulators.
Return the site corresponding to this psite.
const target* mln::complex_psite< D, G >::target_ | ( | ) | const |
INTERNAL_API Get a pointer to the target site_set.
|
inherited |
|
related |
Is lhs ``less'' than rhs?
This comparison is required by algorithms sorting psites.
|
related |
<D,G>
|
related |
Comparison of two instances of mln::complex_psite.
Is lhs equal to rhs?
|
inherited |
Definition at line 69 of file pseudo_site.hh.
|
inherited |
|
inherited |
Definition at line 59 of file pseudo_site_base.hh.
typedef p_complex<D, G> mln::complex_psite< D, G >::target |
Definition at line 67 of file complex_psite.hh.
typedef p_complex<D, G> mln::complex_psite< D, G >::target_t |
Definition at line 69 of file complex_psite.hh.