public Vector2Double GetDirectionVector(double position) { double direction = GetDirection(position); return(new Vector2Double(Scalars.Cosine(direction), Scalars.Sine(direction))); }