Пример #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;