NEST
2.6.0,not_revisioned_source_dir@0
|
Mask combining two masks with a Boolean AND, the intersection. More...
#include <mask.h>
Public Member Functions | |
IntersectionMask (const Mask< D > &m1, const Mask< D > &m2) | |
Construct the intersection of the two given masks. More... | |
IntersectionMask (const IntersectionMask &m) | |
Copy constructor. More... | |
~IntersectionMask () | |
bool | inside (const Position< D > &p) const |
bool | inside (const Box< D > &b) const |
bool | outside (const Box< D > &b) const |
Box< D > | get_bbox () const |
The whole mask is inside (i.e., false everywhere outside) the bounding box. More... | |
Mask< D > * | clone () const |
Clone method. More... | |
Public Member Functions inherited from nest::Mask< D > | |
~Mask () | |
bool | inside (const std::vector< double_t > &pt) const |
AbstractMask * | intersect_mask (const AbstractMask &other) const |
Create the intersection of this mask with another. More... | |
AbstractMask * | union_mask (const AbstractMask &other) const |
Create the union of this mask with another. More... | |
AbstractMask * | minus_mask (const AbstractMask &other) const |
Create the difference of this mask and another. More... | |
Public Member Functions inherited from nest::AbstractMask | |
virtual | ~AbstractMask () |
Virtual destructor. More... | |
virtual DictionaryDatum | get_dict () const |
Protected Attributes | |
Mask< D > * | mask1_ |
Mask< D > * | mask2_ |
Mask combining two masks with a Boolean AND, the intersection.
|
inline |
Construct the intersection of the two given masks.
Copies are made of the supplied Mask objects.
|
inline |
Copy constructor.
|
inline |
References nest::IntersectionMask< D >::mask1_, and nest::IntersectionMask< D >::mask2_.
|
virtual |
|
virtual |
The whole mask is inside (i.e., false everywhere outside) the bounding box.
Implements nest::Mask< D >.
References nest::Box< D >::lower_left, and nest::Box< D >::upper_right.
|
virtual |
Implements nest::Mask< D >.
|
virtual |
Implements nest::Mask< D >.
|
virtual |
Reimplemented from nest::Mask< D >.
|
protected |
Referenced by nest::IntersectionMask< D >::~IntersectionMask().
|
protected |
Referenced by nest::IntersectionMask< D >::~IntersectionMask().