ellipsoid and sphere outline tests