xmol::geom::XYZ class

Public types

using Vector_t = Eigen::RowVector3d

Constructors, destructors, conversion operators

XYZ(const Vector_t& v) explicit
XYZ(double x, double y, double z)
XYZ()
XYZ(const XYZ& other) defaulted
XYZ(XYZ&& other) defaulted

Public functions

auto operator=(const XYZ& other) -> XYZ& defaulted
auto operator=(XYZ&& other) -> XYZ& defaulted
auto operator+=(const XYZ& other) -> XYZ&
auto operator-=(const XYZ& other) -> XYZ&
auto operator*=(double t) -> XYZ&
auto operator/=(double t) -> XYZ&
auto len2() const -> double
auto len() const -> double
auto dot(const XYZ& b) const -> double
auto cross(const XYZ& b) const -> XYZ
auto operator-() const -> XYZ
auto x() const -> double
auto y() const -> double
auto z() const -> double
auto set_x(double value) -> XYZ&
auto set_y(double value) -> XYZ&
auto set_z(double value) -> XYZ&
auto distance(const XYZ& other) const -> double
auto distance2(const XYZ& other) const -> double
auto angle(const XYZ& other) const -> AngleValue
auto angle_between(const XYZ& a, const XYZ& c) const -> AngleValue
auto _eigen() const -> const Vector_t&
auto _eigen() -> Vector_t&