A circle touches the lines $OA$ extended, $OB$ extended and $AB$ where $OA$ and $OB$ are perpendicular..

Show that the diameter of the circle is equal to the perimeter of the triangle.