in3Utils.geoTrans.findSplitPoint

findSplitPoint(avaProfile, Points)[source]

Finds the closest point in Points to the avaProfile and returns its projection on avaProfile.

Parameters
  • avaProfile (dict) – line dictionary with x and y coordinates

  • Points (dict) – a point dictionary

Returns

projPoint – point dictionary projected on the profile (if several points were give in input, only the closest point to the profile is projected)

Return type

dict