/** * return the y-coordinate of the barycenter * * @return y */ public float getY() { if (changed) { compute(); } return radiusOfGroup.getY(); }