approximates the circumference of this ellipse . oddly enough , the circumference of an ellipse is actually difficult to compute exactly . concode_field_sep long serialVersionUID concode_elem_sep float x concode_elem_sep float width concode_elem_sep float y concode_elem_sep float height concode_field_sep float area concode_elem_sep boolean contains concode_elem_sep boolean contains concode_elem_sep void set concode_elem_sep void set concode_elem_sep void set concode_elem_sep void set concode_elem_sep Ellipse setSize concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Ellipse setPosition concode_elem_sep Ellipse setPosition
float function ( ) { float loc0 = this . width / 2 ; float loc1 = this . height / 2 ; if ( loc0 * 3 > loc1 || loc1 * 3 > loc0 ) { return ( float ) ( MathUtils . PI * ( ( 3 * ( loc0 + loc1 ) ) - Math . sqrt ( ( 3 * loc0 + loc1 ) * ( loc0 + 3 * loc1 ) ) ) ) ; } else { return ( float ) ( MathUtils . PI2 * Math . sqrt ( ( loc0 * loc0 + loc1 * loc1 ) / 2 ) ) ; } }