Incorporated comments tester: - Improved algorithm: instead of determining (Euclidean) distance between segments and points of the surfaceline, do: -- Discretize the surfaceline while it's clipped to the soil profile definition -- Look for the maximum Y coordinate of the soil profile on each discretized X coordinate of the surfaceline - Added and improved tests Related to Issue [
WTI-1593]