/** * 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 */ public MPPointF getPosition(MPPointF center, float dist, float angle) { MPPointF p = MPPointF.getInstance(0, 0); getPosition(center, dist, angle, p); return p; }
float distLegend = distanceToCenter(bottomX, bottomY); MPPointF reference = getPosition(center, getRadius(), getAngleForPoint(bottomX, bottomY));
/** * 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 */ public MPPointF getPosition(MPPointF center, float dist, float angle) { MPPointF p = MPPointF.getInstance(0, 0); getPosition(center, dist, angle, p); return p; }
/** * 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 */ public MPPointF getPosition(MPPointF center, float dist, float angle) { MPPointF p = MPPointF.getInstance(0, 0); getPosition(center, dist, angle, p); return p; }
/** * 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 */ public MPPointF getPosition(MPPointF center, float dist, float angle) { MPPointF p = MPPointF.getInstance(0, 0); getPosition(center, dist, angle, p); return p; }
/** * 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 */ public MPPointF getPosition(MPPointF center, float dist, float angle) { MPPointF p = MPPointF.getInstance(0, 0); getPosition(center, dist, angle, p); return p; }
float distLegend = distanceToCenter(bottomX, bottomY); MPPointF reference = getPosition(center, getRadius(), getAngleForPoint(bottomX, bottomY));
float distLegend = distanceToCenter(bottomX, bottomY); MPPointF reference = getPosition(center, getRadius(), getAngleForPoint(bottomX, bottomY));
float distLegend = distanceToCenter(bottomX, bottomY); MPPointF reference = getPosition(center, getRadius(), getAngleForPoint(bottomX, bottomY));
float distLegend = distanceToCenter(bottomX, bottomY); MPPointF reference = getPosition(center, getRadius(), getAngleForPoint(bottomX, bottomY));