BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Public Member Functions | |
Vector3D () | |
Vector3D (const Vector3D &)=default | |
Vector3D (float) | |
Vector3D (float, float, float) | |
Vector3D (QVector3D const &) | |
Vector3D | interpolateTo (const Vector3D &, float) const |
float | length () const |
Vector3D | normalized () const |
operator QVector3D () const | |
Public Attributes | |
float | x |
float | y |
float | z |
Static Public Attributes | |
static Vector3D const | _0 |
static Vector3D const | _1 |
static Vector3D const | _x |
static Vector3D const | _y |
static Vector3D const | _z |
GUI::RealSpace::Vector3D::Vector3D | ( | ) |
GUI::RealSpace::Vector3D::Vector3D | ( | float | v | ) |
GUI::RealSpace::Vector3D::Vector3D | ( | float | x_, |
float | y_, | ||
float | z_ | ||
) |
|
default |
GUI::RealSpace::Vector3D::Vector3D | ( | QVector3D const & | v | ) |
float GUI::RealSpace::Vector3D::length | ( | ) | const |
Definition at line 44 of file def.cpp.
Referenced by GUI::RealSpace::VectorRange::length().
Vector3D GUI::RealSpace::Vector3D::normalized | ( | ) | const |
Definition at line 49 of file def.cpp.
References normalized().
Referenced by GUI::RealSpace::Canvas::horizontalCameraTurn(), GUI::RealSpace::Geometry::meshColumn(), GUI::RealSpace::Geometry::meshSphere(), normalized(), and GUI::RealSpace::Canvas::verticalCameraTurn().
GUI::RealSpace::Vector3D::operator QVector3D | ( | ) | const |
|
static |
Definition at line 46 of file def.h.
Referenced by GUI::RealSpace::Layer::Layer(), GUI::RealSpace::operator-(), and GUI::RealSpace::Particles::Particle::set().
|
static |
Definition at line 46 of file def.h.
Referenced by GUI::RealSpace::Canvas::defaultView(), GUI::RealSpace::Geometry::meshColumn(), GUI::RealSpace::Geometry::meshDodecahedron(), GUI::RealSpace::Geometry::meshSphere(), GUI::RealSpace::Canvas::sideView(), and GUI::RealSpace::Canvas::topView().
float GUI::RealSpace::Vector3D::x |
Definition at line 30 of file def.h.
Referenced by GUI::RealSpace::operator*(), GUI::RealSpace::operator+(), and GUI::RealSpace::operator-().
float GUI::RealSpace::Vector3D::y |
Definition at line 30 of file def.h.
Referenced by GUI::RealSpace::operator*(), GUI::RealSpace::operator+(), GUI::RealSpace::operator-(), and GUI::RealSpace::Canvas::sideView().
float GUI::RealSpace::Vector3D::z |
Definition at line 30 of file def.h.
Referenced by GUI::RealSpace::Geometry::meshSphere(), GUI::RealSpace::operator*(), GUI::RealSpace::operator+(), GUI::RealSpace::operator-(), and GUI::RealSpace::Canvas::topView().