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