コード例 #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;
 }