static boolean c ( Point [ ] p , int r ) {
  r *= r ;
  int d1 = g ( p [ 0 ] , p [ 1 ] ) ;
  int d2 = g ( p [ 0 ] , p [ 2 ] ) ;
  int d3 = g ( p [ 0 ] , new Point ( p [ 1 ] . x , p [ 2 ] . y ) ) ;
  int d4 = g ( p [ 0 ] , new Point ( p [ 2 ] . x , p [ 1 ] . y ) ) ;
  return d1 <= r && d2 <= r && d3 <= r && d4 <= r ;
}

static boolean c ( Point [ ] p , int r ) { r *= r ; int d1 = g ( p [ 0 ] , p [ 1 ] ) ; int d2 = g ( p [ 0 ] , p [ 2 ] ) ; int d3 = g ( p [ 0 ] , new Point ( p [ 1 ] . x , p [ 2 ] . y ) ) ; int d4 = g ( p [ 0 ] , new Point ( p [ 2 ] . x , p [ 1 ] . y ) ) ; return d1 <= r && d2 <= r && d3 <= r && d4 <= r ; }
(method_declaration (modifiers) type: (boolean_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (array_type element: (type_identifier) dimensions: (dimensions)) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier))) body: (block (expression_statement (assignment_expression left: (identifier) right: (identifier))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list (array_access array: (identifier) index: (decimal_integer_literal)) (array_access array: (identifier) index: (decimal_integer_literal)))))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list (array_access array: (identifier) index: (decimal_integer_literal)) (array_access array: (identifier) index: (decimal_integer_literal)))))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list (array_access array: (identifier) index: (decimal_integer_literal)) (object_creation_expression type: (type_identifier) arguments: (argument_list (field_access object: (array_access array: (identifier) index: (decimal_integer_literal)) field: (identifier)) (field_access object: (array_access array: (identifier) index: (decimal_integer_literal)) field: (identifier)))))))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list (array_access array: (identifier) index: (decimal_integer_literal)) (object_creation_expression type: (type_identifier) arguments: (argument_list (field_access object: (array_access array: (identifier) index: (decimal_integer_literal)) field: (identifier)) (field_access object: (array_access array: (identifier) index: (decimal_integer_literal)) field: (identifier)))))))) (return_statement (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (identifier))) right: (binary_expression left: (identifier) right: (identifier))) right: (binary_expression left: (identifier) right: (identifier))))))