Measure Largest Distance

 

 

Hi,

I have a surface made from two curves.

One curve is straight, the other is of irregular shape.

I want to make a line at the largest distance between these two curves. The line should be perpendicular to the straight line.

How do I find the largest measurable distance ?