ParametricEllipsoid

ParametricEllipsoid(xradius=None, yradius=None, zradius=None, **kwargs)

Generate an ellipsoid.

ParametricEllipsoid generates an ellipsoid. If all the radii are the same, we have a sphere. An oblate spheroid occurs if RadiusX = RadiusY > RadiusZ. Here the Z-axis forms the symmetry axis. To a first approximation, this is the shape of the earth. A prolate spheroid occurs if RadiusX = RadiusY < RadiusZ.

Parameters
xradiusfloat, optional

The scaling factor for the x-axis. Default is 1.

yradiusfloat, optional

The scaling factor for the y-axis. Default is 1.

zradiusfloat, optional

The scaling factor for the z-axis. Default is 1.

**kwargsdict, optional

See surface_from_para() and parametric_keywords() for additional keyword arguments.

Returns
pyvista.PolyData

ParametricEllipsoid surface.

Examples

Create a ParametricEllipsoid mesh

>>> import pyvista
>>> mesh = pyvista.ParametricEllipsoid()
>>> mesh.plot(color='w', smooth_shading=True)
../../../_images/pyvista-ParametricEllipsoid-1_00_00.png