Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.


inhahe
Posts:
9
From:
miami
Registered:
3/8/07


calculate equidistant points
Posted:
Mar 8, 2007 7:42 AM


say i have two points a and b in 3d space, and their distance is less than or equal to a constant d. i want to find a third point that's exactly d distance away from both a and b. i want to pick one of the possible points at random, using a function that returns a random real between 2 reals. also, i want the result to be within a certain box, so if a and b happen to be close to a side of the box then the possible solutions have to be restricted, i'd imagine by calculating a special max and min as the reals for the random number function. i tried doing this myself (sans the box part), and it didn't seem to work.



