예제 #1
0
파일: LocatorZ.cs 프로젝트: Ring-r/sandbox
 public double DotProduct2D(LocatorZ loc)
 {
     return this.X * loc.X + this.Y * loc.Y;
 }
예제 #2
0
파일: LocatorZ.cs 프로젝트: Ring-r/sandbox
 public double CrossProduct2D(LocatorZ loc)
 {
     return this.X * loc.Y - this.Y * loc.X;
 }