Sub() 공개 메소드

public Sub ( cpVect v2 ) : cpVect
v2 cpVect
리턴 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;
 }