RE: MI Looking for Nearest Object Distance Functions

2000-01-02 Thread Jacques Paris
In the mbx SLOPESTI (slope estimator), I try to find out the value and the direction of the slope at any specified point of a contour map. I use a "32 spoke wheel" that allows me to find out the nearest intersections with the contour lines. Then I look for the shortest distance along the 16

Re: MI Looking for Nearest Object Distance Functions

2000-01-01 Thread Graham O'Brien
Stephen: I had a similar problem - I needed to find the distance from a number of given points to their nearest contour line of a given height. This was before I found this list, so I solved it in a typical O'Brien brute-force manner, using a kind of binary chop algorithm: For each point I