Date: Mar 8, 2007 7:42 AM
Author: inhahe
Subject: calculate equidistant points

say i have two points a and b in 3-d 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.