internal static CVector2D Normalize(CVector2D dir) { return((CVector2D)Vector2.Normalize((Vector2)dir)); }
public static double Distance(CVector2D v1, CVector2D v2) { return(Math.Sqrt(Math.Pow(v1.X - v2.X, 2) + Math.Pow(v1.Y - v2.Y, 2))); }