public angle GetAzimuth(vector b) { return(new angle(Math.Atan2(b.y - this.y, b.x - this.x))); }
public GravityObject(vector pos, vector vel, object UID) { UniqueID = UID; Position = pos; Velocity = vel; }
public double Distance(vector b) { return(Math.Sqrt(Math.Pow(this.x - b.x, 2) + Math.Pow(this.y - b.y, 2))); }