예제 #1
0
 public double ScalarCrossProduct(DoubleVector2D other)
 {
     return(X * other.Y - Y * other.X);
 }
예제 #2
0
 public double DotProduct(DoubleVector2D vector) => this.X * vector.X + this.Y * vector.Y;