Sub() public method

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