BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
Implements default methods of interface IShape3D.
Definition in file IShape3D.cpp.
Go to the source code of this file.
Functions | |
std::vector< R3 > | EllipseVerticesXtrunc (double x, double r_y, double r_z, double z_b, double z_t) |
Generate vertices of centered vertical ellipse with given semi-axes at position x and truncation heights z_b (bottom) and z_t (top) More... | |
std::vector< R3 > | EllipseVerticesZ (double r_x, double r_y, double z) |
Generate vertices of centered horizontal ellipse with given semi-axes at height z. More... | |
std::vector< R3 > | RectangleVertices (double length, double width, double z) |
Helper functions to construct lists of vertices. More... | |
std::vector<R3> EllipseVerticesXtrunc | ( | double | x, |
double | r_y, | ||
double | r_z, | ||
double | z_b, | ||
double | z_t | ||
) |
Generate vertices of centered vertical ellipse with given semi-axes at position x and truncation heights z_b (bottom) and z_t (top)
Definition at line 50 of file IShape3D.cpp.
References M_PI, and IShape3D::N_Circle.
Referenced by DoubleEllipseX::DoubleEllipseX().
std::vector<R3> EllipseVerticesZ | ( | double | r_x, |
double | r_y, | ||
double | z | ||
) |
Generate vertices of centered horizontal ellipse with given semi-axes at height z.
Definition at line 37 of file IShape3D.cpp.
References M_PI, and IShape3D::N_Circle.
Referenced by DoubleEllipseZ::DoubleEllipseZ(), and TruncatedEllipsoidNet::TruncatedEllipsoidNet().
std::vector<R3> RectangleVertices | ( | double | length, |
double | width, | ||
double | z | ||
) |
Helper functions to construct lists of vertices.
Generate vertices of centered rectangle at height z
Definition at line 28 of file IShape3D.cpp.
Referenced by BoxNet::BoxNet().