Mapping a penetration onto a surface

Hi,
I am trying to map a penetration (closed curve) onto a surface using the split command in a c# script. Met with partial success, as the split happens only when the curve is placed on the surface. The script should be able to translate the curve onto to the surface from wherever the user has modelled it in Rhino based on the u and v values of the surface fed by the user. The u,v values should be anchoring the curve using its bottom left corner.
Could somebody please point me in the right direction as to how to accomplish this?

Regards,
RP
CreatePenetrations.gh (8.0 KB)
Penetrations.3dm (48.6 KB)