Sub() public method

public Sub ( cpVect v2 ) : cpVect
v2 cpVect
return cpVect
Beispiel #1
0
 public static double Distance( cpVect v1,  cpVect v2)
 {
     return Math.Sqrt(v1.Sub( v2).LengthSQ);
 }
Beispiel #2
0
 public static double DistanceSQ( cpVect v1,  cpVect v2)
 {
     return v1.Sub( v2).LengthSQ;
 }