getSegmentProjection
https://stackoverflow.com/questions/1299567/how-to-calculate-distance-from-a-point-to-a-line-segment-on-a-sphere Adapted to cartesian coordinates using Spherical model Note: Ellipsoid model using ECEF seems to not work due to Earth radius factor