|
Gromacs
2025.3
|
#include <gromacs/math/include/gromacs/math/coordinatetransformation.h>
Transform coordinates in three dimensions by first translating, then scaling them.
Public Member Functions | |
| TranslateAndScale (const RVec &scale, const RVec &translation) | |
| Construct a three-dimensional coordinate transformation. Coordinates are first translated, then scaled. More... | |
| TranslateAndScale (const TranslateAndScale &other) | |
| Copy constructor. | |
| TranslateAndScale & | operator= (const TranslateAndScale &other) |
| Copy assignment. | |
| TranslateAndScale (TranslateAndScale &&other) noexcept | |
| Move constructor. | |
| TranslateAndScale & | operator= (TranslateAndScale &&other) noexcept |
| Move assignment. | |
| void | operator() (ArrayRef< RVec > coordinates) const |
| Perform a coordinate transformation on input coordinates. More... | |
| void | operator() (RVec *coordinate) const |
| Perform a coordinate transformation on a coordinate. More... | |
| ScaleCoordinates | scaleOperationOnly () const |
| Returns the scaling operation, discarding the translation. | |
Construct a three-dimensional coordinate transformation. Coordinates are first translated, then scaled.
| [in] | translation | to be performed on the coordinates |
| [in] | scale | to be applied to the coordinates |
Perform a coordinate transformation on input coordinates.
| [in] | coordinates | to be transformed |
| void gmx::TranslateAndScale::operator() | ( | RVec * | coordinate | ) | const |
Perform a coordinate transformation on a coordinate.
| [in] | coordinate | to be transformed |
1.8.5