getPosition1 method

MPPointF getPosition1(
  1. MPPointF center,
  2. double dist,
  3. double angle
)

Returns a recyclable MPPointF instance. Calculates the position around a center point, depending on the distance from the center, and the angle of the position around the center.

@param center @param dist @param angle in degrees, converted to radians internally @return

Implementation

MPPointF getPosition1(MPPointF center, double dist, double angle) {
  MPPointF p = MPPointF.getInstance1(0, 0);
  getPosition2(center, dist, angle, p);
  return p;
}