BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Abstract base class for different shapes. More...
Public Member Functions | |
IShape3D () | |
virtual | ~IShape3D () |
virtual std::vector< kvector_t > | vertices () const |
Retrieves a list of the vertices constituting this concrete shape. More... | |
Static Public Attributes | |
static const size_t | N_Circle = 24 |
Protected Attributes | |
std::vector< kvector_t > | m_vertices |
List of vertices initialized during construction. More... | |
Abstract base class for different shapes.
In contrast to the form factors, these shapes only provide an interface for returning a set of vertices.
Definition at line 33 of file IShape3D.h.
|
inline |
Definition at line 35 of file IShape3D.h.
|
inlinevirtual |
Definition at line 36 of file IShape3D.h.
|
virtual |
Retrieves a list of the vertices constituting this concrete shape.
Definition at line 23 of file IShape3D.cpp.
References m_vertices.
|
protected |
List of vertices initialized during construction.
Definition at line 44 of file IShape3D.h.
Referenced by Box::Box(), DoubleEllipse::DoubleEllipse(), RippleCosine::RippleCosine(), RippleSawtooth::RippleSawtooth(), TruncatedEllipsoid::TruncatedEllipsoid(), and vertices().
|
static |
Definition at line 40 of file IShape3D.h.
Referenced by RippleCosine::RippleCosine(), TruncatedEllipsoid::TruncatedEllipsoid(), and EllipseVertices().