import math


def tangent_circle(dist, radius):
    """
      return tangent angle to a circle placed at (dist, 0.0) with radius=radius

      For non-existing tangent use 100 degrees.
    """
    if dist >= radius:
        return math.asin(radius/float(dist))
    return math.radians(100)