ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
Utils::CylindricalTransformationParameters Class Reference

A class to hold and validate parameters for a cylindrical coordinate transformations. More...

#include <cylindrical_transformation_parameters.hpp>

Public Member Functions

 CylindricalTransformationParameters ()=default
 CylindricalTransformationParameters (Utils::Vector3d const &center, Utils::Vector3d const &axis, Utils::Vector3d const &orientation)
 Main constructor.
 CylindricalTransformationParameters (Utils::Vector3d const &center, Utils::Vector3d const &axis)
 if you only provide center and axis, an orientation will be generated automatically such that it is orthogonal to axis
Utils::Vector3d center () const
Utils::Vector3d axis () const
Utils::Vector3d orientation () const

Detailed Description

A class to hold and validate parameters for a cylindrical coordinate transformations.

Definition at line 36 of file cylindrical_transformation_parameters.hpp.

Constructor & Destructor Documentation

◆ CylindricalTransformationParameters() [1/3]

Utils::CylindricalTransformationParameters::CylindricalTransformationParameters ( )
default

◆ CylindricalTransformationParameters() [2/3]

Utils::CylindricalTransformationParameters::CylindricalTransformationParameters ( Utils::Vector3d const & center,
Utils::Vector3d const & axis,
Utils::Vector3d const & orientation )
inline

Main constructor.

Parameters
centerThe origin of the cylindrical coordinates.
axisThe "z"-axis. Must be normalized.
orientationThe axis along which phi = 0. Must be normalized and orthogonal to axis.

Definition at line 47 of file cylindrical_transformation_parameters.hpp.

References axis(), center(), and orientation().

◆ CylindricalTransformationParameters() [3/3]

Utils::CylindricalTransformationParameters::CylindricalTransformationParameters ( Utils::Vector3d const & center,
Utils::Vector3d const & axis )
inline

if you only provide center and axis, an orientation will be generated automatically such that it is orthogonal to axis

Definition at line 57 of file cylindrical_transformation_parameters.hpp.

References axis(), Utils::calc_orthonormal_vector(), and center().

Member Function Documentation

◆ axis()

Utils::Vector3d Utils::CylindricalTransformationParameters::axis ( ) const
inline

◆ center()

Utils::Vector3d Utils::CylindricalTransformationParameters::center ( ) const
inline

◆ orientation()

Utils::Vector3d Utils::CylindricalTransformationParameters::orientation ( ) const
inline

The documentation for this class was generated from the following file: