25 # ifndef DSGVECTOR2D_H 26 # define DSGVECTOR2D_H 111 static std::tuple<Vector2D, Vector2D>
117 # endif // DSGVECTOR_2D_H bool is_to_left_on_from(const Vector2D &) const
Vector2D operator*(real_t) const
Multiplies this by a scalar value.
static std::tuple< Vector2D, Vector2D > make_orthonormal_basis(const Vector2D &)
real_t cross_product(const Vector2D &) const
void add_scaled_vector(const Vector2D &, real_t)
bool is_to_left_from(const Vector2D &) const
double real_t
Definition: types.H:51
bool is_normalized() const
void operator+=(const Vector2D &)
Accumulative vector addition.
real_t scalar_product(const Vector2D &) const
Vector2D get_opposite() const
bool is_collinear_with(const Vector2D &) const
Vector2D operator-() const
Performs get_opossite.
real_t square_magnitude() const
bool is_to_right_on_from(const Vector2D &) const
Definition: point2D.H:247
bool is_opposite(const Vector2D &) const
void operator*=(real_t)
Accumulates the product of this by a scalar value.
real_t vector_product(const Vector2D &) const
bool is_unitarian() const
bool is_to_right_from(const Vector2D &) const
Vector2D component_product(const Vector2D &) const
static const Vector2D ZERO
Definition: vector2D.H:38
real_t dot_product(const Vector2D &) const
void operator-=(const Vector2D &)
Accumulative vector substraction.
real_t angle_with(const Vector2D &) const
Vector2D operator+(const Vector2D &) const
Performs vector addition.
Definition: vector2D.H:32