class
#include <xmol/proxy/proxy.h>
CoordRef Lightweight XYZ reference.
Contents
Constructors, destructors, conversion operators
- CoordRef(const CoordRef& rhs) defaulted
- CoordRef(CoordRef&& rhs) defaulted noexcept
- operator const XYZ&() const
Public functions
- auto operator=(const CoordRef& rhs) -> CoordRef& defaulted
- auto operator=(CoordRef&& rhs) -> CoordRef& defaulted noexcept
- auto set(const XYZ& value) -> CoordRef&
- auto x() const -> double
- auto x(double value) -> CoordRef&
- auto y() const -> double
- auto y(double value) -> CoordRef&
- auto z() const -> double
- auto z(double value) -> CoordRef&
- auto operator+=(const XYZ& rhs) -> CoordRef&
- auto operator-=(const XYZ& rhs) -> CoordRef&
- auto operator*=(double rhs) -> CoordRef&
- auto operator/=(double rhs) -> CoordRef&
- auto len2() const -> double
- auto len() const -> double
- auto dot(const XYZ& b) const -> double
- auto cross(const XYZ& b) const -> XYZ
- auto distance(const XYZ& b) const -> double
- auto distance2(const XYZ& b) const -> double
- auto operator!=(const CoordRef& rhs) const -> bool
- Check if references point to same data.
- auto operator==(const CoordRef& rhs) const -> bool
- Check if references point to same data.
- auto _eigen() const -> const XYZ::Vector_t&
- auto _eigen() -> XYZ::Vector_t&