in3Utils.geoTrans.checkProfile¶
- checkProfile(AvaProfile, projSplitPoint=None)[source]¶
check that the avalanche profiles goes from top to bottom flip it if not and adjust the splitpoint in consequence
- Parameters
AvaProfile (dict) – line dictionary with x and y coordinates
projSplitPoint (dict) – a point dictionary already projected on the AvaProfile
- Returns
AvaProfile (dict) – avaprofile, fliped if needed
projSplitPoint (dict) – point dictionary