public double ScalarCrossProduct(DoubleVector2D other) { return(X * other.Y - Y * other.X); }
public double DotProduct(DoubleVector2D vector) => this.X * vector.X + this.Y * vector.Y;