vectors — ALE Vector Classes & Functions

namespace ale
struct Vec3d
#include <Vectors.h>

A 3D cartesian vector

Public Functions

inline Vec3d(const std::vector<double> &vec)
inline Vec3d(double x, double y, double z)
inline Vec3d()
inline Vec3d &operator*=(double scalar)
inline Vec3d &operator+=(Vec3d addend)
inline Vec3d &operator-=(Vec3d addend)
inline double norm() const

Public Members

double x
double y
double z