atlas::interpolation::Vector2D class

Public static functions

static auto Map(const double* data) -> Vector2D

Constructors, destructors, conversion operators

Vector2D(const double* d)
Vector2D(double x, double y)
Vector2D()

Public functions

auto operator[](size_t i) const -> double
auto operator-(const Vector2D& other) const -> Vector2D
auto operator+(const Vector2D& other) const -> Vector2D
auto operator-() const -> Vector2D
auto norm() const -> double
auto squaredNorm() const -> double
auto dot(const Vector2D& other) const -> double
auto cross(const Vector2D& other) const -> double
void print(std::ostream& s) const
auto data() -> double*
auto data() const -> const double*
auto x() const -> double
auto y() const -> double

Friends

auto operator<<(std::ostream& s, const Vector2D& p) -> std::ostream&