How to trim/extend Surface

Hi, I am looking for a neat way to trim/extent Surface

I have Surface snapped to Points and trying to find a way to extend/trim Surface edge to another one within my point offset distance.


Attached example as Rhino or GH
Example_TrimExtend.gh (8.1 KB)
Example_TrimExtend.3dm (114.0 KB)