class
#include <atlas/interpolation/Vector2D.h>
Vector2D
Public static functions
Constructors, destructors, conversion operators
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&