in3Utils.geoTrans.findClosestPoint
- findClosestPoint(xcoor, ycoor, pointsDict)[source]
find the closest point of pointDict along line defined by xcoor and ycoor - only xy plane!
- Parameters
xcoor, ycoor (np array) – x and y coordinates of line
pointsDict (dict) – a dictionary with coordinates of points with keys x and y
- Returns
indSplit – index of closest point found on the line
- Return type
int