PyGeo: a dynamic geometry toolkit

spheres

sphere in space

f Sphere() ...

factory function returns a class representing a set of points equidistant from a given point

constructors:
Sphere (point1,point2 )
sphere with center at 1st given point and through 2nd given point
Sphere (sphere,point )
sphere with center at given point and orthogonal to given sphere
Sphere (point1,point2,point3,point4 )
sphere through the 4 given points

See the source for more information.