Shap3d01.dat, 1st 'shape' file for CPO3D

An ellipsoid created by stretching a sphere

 

A sphere is set up and the 'stretching' option is used to increase all z coordinates by a factor of 2, producing an ellipsoid.

 

The equation for the sphere is

(x/a)**2 + (y/b)**2 + (z/c)**2 = 1,

where a = b = c = 1 is the radius of the sphere. After stretching the z coordinates by a factor of 2 the value of c is effectively increased by this factor, producing an ellipsoid.