BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
The infinite plane is used for masking the entire detector. More...
Public Member Functions | |
InfinitePlane () | |
InfinitePlane * | clone () const |
bool | contains (const Bin1D &, const Bin1D &) const |
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 |
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 |
The infinite plane is used for masking the entire detector.
Definition at line 28 of file InfinitePlane.h.
|
inline |
|
inlinevirtual |
Implements IShape2D.
Definition at line 31 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 34 of file InfinitePlane.h.
|
inlinevirtual |
Returns true if point with given coordinates is inside or on border of the shape.
Implements IShape2D.
Definition at line 33 of file InfinitePlane.h.
|
inlineprotectedvirtualinherited |
|
inlinevirtualinherited |
Used for Python overriding of clone (see swig/tweaks.py)
Definition at line 34 of file ICloneable.h.
|
privateinherited |
Definition at line 49 of file IShape2D.h.
Referenced by IShape2D::print().