BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
The infinite plane is used for masking the entire detector.
Definition at line 28 of file InfinitePlane.h.
Public Member Functions | |
InfinitePlane () | |
InfinitePlane * | clone () const override |
bool | contains (const Bin1D &, const Bin1D &) const override |
Returns true if area defined by two bins is inside or on border of polygon (more precisely, if mid point of two bins satisfy this condition). More... | |
bool | contains (double, double) const override |
Returns true if point with given coordinates is inside or on border of the shape. More... | |
virtual void | transferToCPP () |
Used for Python overriding of clone (see swig/tweaks.py) More... | |
Protected Member Functions | |
virtual void | print (std::ostream &ostr) const |
Private Attributes | |
const char *const | m_name |
|
inline |
|
inlineoverridevirtual |
Implements IShape2D.
Definition at line 34 of file InfinitePlane.h.
References InfinitePlane().
Returns true if area defined by two bins is inside or on border of polygon (more precisely, if mid point of two bins satisfy this condition).
Implements IShape2D.
Definition at line 37 of file InfinitePlane.h.
|
inlineoverridevirtual |
Returns true if point with given coordinates is inside or on border of the shape.
Implements IShape2D.
Definition at line 36 of file InfinitePlane.h.
|
inlineprotectedvirtualinherited |
|
inlinevirtualinherited |
Used for Python overriding of clone (see swig/tweaks.py)
Definition at line 32 of file ICloneable.h.
|
privateinherited |
Definition at line 52 of file IShape2D.h.
Referenced by IShape2D::print().