(i) pass both points of segment half instead of one point and direction;
(ii) if point is not near and has no children still check the parent segment half
Second try for this pull request. Sorry for this - in the first try I requested to pull master :-(
(i) pass both points of segment half instead of one point and direction; (ii) if point is not near and has no children still check the parent segment half
Second try for this pull request. Sorry for this - in the first try I requested to pull master :-(
Thanks Stefan