Some(?) of the Parts

A circle touches the lines OA, OB and AB where OA and OB are perpendicular. Show that the diameter of the circle is equal to the perimeter of the triangle

The radius of the circle is $1$ unit long.