repeated interior angle of the symmetric polygon in radians . for equilateral triangles : 60 degrees , which yields exterior angles of 120 degrees , which is 2 pi / 3 . for squares : 90 degrees , which yields exterior angles of 90 degrees , which is pi / 2 . for pentagon : 108 degrees , which yields exterior angles of 72 degrees , which is 2 pi / 5 . for hexagons : 120 degrees , which yields exterior angles of 60 degrees , which is pi / 3 . concode_field_sep double DistanceToAngle concode_elem_sep IModulateValueDelegate<Double> YHandler concode_elem_sep double AngleBasis concode_elem_sep int NumberOfSides concode_elem_sep IModulateValueDelegate<Double> XHandler concode_elem_sep Vector2d Delta concode_field_sep void setDistanceToAngle concode_elem_sep String getSVGShape concode_elem_sep String getSVGShape concode_elem_sep String getSVGShape concode_elem_sep BinCollection getBinsById concode_elem_sep IModulateValueDelegate<Double> getXHandler concode_elem_sep double getExteriorAngle concode_elem_sep void handlePointAndIndex concode_elem_sep double getDistanceToAngle concode_elem_sep void setXHandler concode_elem_sep void setYHandler concode_elem_sep List<Vector2d> getShape concode_elem_sep List<Vector2d> getShape concode_elem_sep Vector2d calculateDelta concode_elem_sep IModulateValueDelegate<Double> getYHandler
double function ( ) { if ( NumberOfSides > 2 ) return 2 * Math . PI / NumberOfSides ; return 2 * Math . PI / 3.0 ; }