I have three points in 3D space. I'd like to use these to construct a circle (it is always possible to do so, see Circumscribed_circle. For two of the points, I'd also like to find the triangle altitude formed by these points and the coordinate origin.
The calculations need to be fast - the equations I've found so far involve lots of square roots, so I was wondering if anyone knew of suitable algorithms or ways to restate the problem.
Thanks in advance!