A tangent circle through two curves and a point on a curve

Hi there! I want to find the solution, realized in the Grasshopper scope, for constructing a circle with two tangent curves to it and a point on one of the curves, as it is implemented in Rhino (Circle > Tangent). But I have found the implementation neither at Grasshopper nor at Rhinocommon.

What about the Circle TanTan component?

The RhinoCommon method: Circle.TryFitCircleTT Method


Exactly, thank you! The name of “P” input (“Circle center point guide”) has confused me