Surface64.compute_reference_ellipsoid

giant.ray_tracer.shapes.surface:

Surface64.compute_reference_ellipsoid(self)

This method computes the reference ellipsoid that best represents the vertices.

This is done by finding the best fit ellipsoid to the vertices that are used in the surface according to facets. The results are stored in reference_ellipsoid.

This is done by a dispatch to the ref_ellipse() function.