xmol/geom/AngleValue.h file

Contents

Namespaces

namespace xmol
Reworked original xmol.
namespace xmol::geom
Atomic-agnostic geom procedures.
namespace xmol::geom::literals

Classes

struct xmol::geom::Degrees
struct xmol::geom::Radians
struct xmol::geom::AngleValue

Functions

auto degrees_to_radians(double degrees) -> double
auto radians_to_degrees(double radians) -> double
auto operator*(double lhs, const AngleValue& rhs) -> AngleValue
auto sin(const AngleValue& angle) -> double
auto cos(const AngleValue& angle) -> double
auto tan(const AngleValue& angle) -> double
auto fabs(const AngleValue& angle) -> AngleValue
auto dihedral_angle(const XYZ& a, const XYZ& b, const XYZ& c, const XYZ& d) -> AngleValue
auto operator""_deg(long double value) -> Degrees
auto operator""_rad(long double value) -> Radians