BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Implements default methods of interface IShape. More...
Go to the source code of this file.
Functions | |
std::vector< kvector_t > | RectangleVertices (double length, double width, double z) |
Helper functions to construct lists of vertices. More... | |
std::vector< kvector_t > | EllipseVertices (double r_x, double r_y, double z) |
Generate vertices of centered ellipse with given semi-axes at height z. | |
Implements default methods of interface IShape.
Definition in file IShape.cpp.
std::vector<kvector_t> 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 IShape.cpp.