![]() |
Online Maps
v3
|
Double version of Vector2 class. More...
Public Member Functions | |
OnlineMapsVector2d (double x, double y) | |
Constructor More... | |
double | SqrMagnitude () |
Returns the squared length of this vector More... | |
Static Public Member Functions | |
static OnlineMapsVector2d | Lerp (OnlineMapsVector2d a, OnlineMapsVector2d b, double t) |
Linearly interpolates between two vectors. More... | |
static double | SqrMagnitude (OnlineMapsVector2d a) |
Returns the squared length of vector More... | |
Public Attributes | |
double | x |
X or longitude More... | |
double | y |
Y or latitude More... | |
Double version of Vector2 class.
OnlineMapsVector2d.OnlineMapsVector2d | ( | double | x, |
double | y | ||
) |
Constructor
x | X or longitude |
y | Y or latitude |
|
static |
Linearly interpolates between two vectors.
a | Vector A |
b | Vector B |
t | Interpolant |
double OnlineMapsVector2d.SqrMagnitude | ( | ) |
Returns the squared length of this vector
|
static |
Returns the squared length of vector
a | Vector |
double OnlineMapsVector2d.x |
X or longitude
double OnlineMapsVector2d.y |
Y or latitude