public Vector2i(IVector2 v) { ITuple2_Integer _v = v.AsTupleInteger(); this.X = _v.X; this.Y = _v.Y; }
public double Cross(IVector2 v2) { ITuple2_Integer _v2 = v2.AsTupleInteger(); return(this.X * _v2.Y - this.Y * _v2.X); }
public bool Equals(IVector2 other) { ITuple2_Integer _other = other.AsTupleInteger(); return(this.Equals(_other.X, _other.Y)); }
public double Dot(IVector2 v2) { ITuple2_Integer _v2 = v2.AsTupleInteger(); return(this.X * _v2.X + this.Y * _v2.Y); }
bool IEpsilonEquatable <IVector2> .EpsilonEquals(IVector2 other, double epsilon) { ITuple2_Integer _other = other.AsTupleInteger(); return(this.Equals(_other.X, _other.Y)); }