parameters: (tan1, tan2, rad)
docstring: Circle from two tangents and one radius.
  
      The tangents should be edges, and they may be either straight line edges
      or circular edges, so four combinations are possible.
docstring_summary: Circle from two tangents and one radius.
docstring_tokens: Circle from two tangents and one radius .
function: def circleFrom2tan1rad(tan1, tan2, rad):
      """Circle from two tangents and one radius.
  
      The tangents should be edges, and they may be either straight line edges
      or circular edges, so four combinations are possible.
      """
      if geomType(tan1) == "Line" and geomType(tan2) == "Line":
          return circleFrom2LinesRadius(tan1, tan2, rad)
  
      elif geomType(tan1) == "Circle" and geomType(tan2) == "Line":
          return circleFromCircleLineRadius(tan1, tan2, rad)
  
      elif geomType(tan1) == "Line" and geomType(tan2) == "Circle":
          return circleFromCircleLineRadius(tan2, tan1, rad)
  
      elif geomType(tan1) == "Circle" and geomType(tan2) == "Circle":
          return circleFrom2CirclesRadius(tan1, tan2, rad)
function_tokens: def circleFrom2tan1rad ( tan1 , tan2 , rad ) : if geomType ( tan1 ) == "Line" and geomType ( tan2 ) == "Line" : return circleFrom2LinesRadius ( tan1 , tan2 , rad ) elif geomType ( tan1 ) == "Circle" and geomType ( tan2 ) == "Line" : return circleFromCircleLineRadius ( tan1 , tan2 , rad ) elif geomType ( tan1 ) == "Line" and geomType ( tan2 ) == "Circle" : return circleFromCircleLineRadius ( tan2 , tan1 , rad ) elif geomType ( tan1 ) == "Circle" and geomType ( tan2 ) == "Circle" : return circleFrom2CirclesRadius ( tan1 , tan2 , rad )