mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-05-07 13:37:47 +00:00
Version 5.0: Reworked MapBase and MapPath
This commit is contained in:
parent
06fd31c17b
commit
49e15ce424
41 changed files with 466 additions and 1068 deletions
|
|
@ -50,6 +50,16 @@ namespace MapControl
|
|||
return new Vector(v1.X - v2.X, v1.Y - v2.Y);
|
||||
}
|
||||
|
||||
public static Vector operator *(double f, Vector v)
|
||||
{
|
||||
return new Vector(f * v.X, f * v.Y);
|
||||
}
|
||||
|
||||
public static Vector operator *(Vector v, double f)
|
||||
{
|
||||
return new Vector(f * v.X, f * v.Y);
|
||||
}
|
||||
|
||||
public static bool operator ==(Vector v1, Vector v2)
|
||||
{
|
||||
return v1.X == v2.X && v1.Y == v2.Y;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue