Fade2D Documentation pages v2.16.3
Delaunay Features
Vector2.h File Reference
#include "common.h"

Go to the source code of this file.

Classes

class  GEOM_FADE2D::Vector2
 Vector. More...
 

Functions

Vector2 GEOM_FADE2D::operator* (double d, const Vector2 &vec)
 Multiplication with a scalar. More...
 
Vector2 GEOM_FADE2D::operator+ (const Vector2 &vec0, const Vector2 &vec1)
 Addition. More...
 
Vector2 GEOM_FADE2D::operator- (const Vector2 &in)
 Opposite vector. More...
 
Vector2 GEOM_FADE2D::operator- (const Vector2 &vec0, const Vector2 &vec1)
 Subtraction. More...
 
std::ostream & GEOM_FADE2D::operator<< (std::ostream &stream, const Vector2 &vec)
 Print to stream. More...
 

Function Documentation

◆ operator*()

Vector2 GEOM_FADE2D::operator* ( double  d,
const Vector2 vec 
)
inline

Multiplication with a scalar.

Multiplication with a scalar

◆ operator+()

Vector2 GEOM_FADE2D::operator+ ( const Vector2 vec0,
const Vector2 vec1 
)
inline

Addition.

Addition

◆ operator-() [1/2]

Vector2 GEOM_FADE2D::operator- ( const Vector2 in)
inline

Opposite vector.

Returns
a vector that points in the opposite direction

◆ operator-() [2/2]

Vector2 GEOM_FADE2D::operator- ( const Vector2 vec0,
const Vector2 vec1 
)
inline

Subtraction.

Subtraction

◆ operator<<()

std::ostream& GEOM_FADE2D::operator<< ( std::ostream &  stream,
const Vector2 vec 
)
inline

Print to stream.

Print to stream