<s>[INST] parses the direction tag and returns the direction or a default value as radians concode_field_sep PlaceHolder placeHolder concode_field_sep String getValueWithFallback concode_elem_sep float parseMeasure concode_elem_sep float parseWidth concode_elem_sep float parseClearing concode_elem_sep float parseHeight [/INST] double function ( TagGroup arg0 , double arg1 ) { Float loc0 = null ; if ( arg0 . containsKey ( "srini_string" ) ) { loc0 = parseAngle ( arg0 . getValue ( "srini_string" ) ) ; } if ( loc0 != null ) { return Math . toRadians ( loc0 ) ; } else { return arg1 ; } </s>