Ellipse#
- Ellipse( ) PolyData[source]#
Create a single ellipse defined by the Semi-major and Semi-minor axes in the XY plane.
- Parameters:
- Returns:
pyvista.PolyDataEllipse mesh.
Notes#
Changed in version 0.38.0: Prior to version 0.38, this method had incorrect results, producing inconsistent edge lengths and a duplicated point which is now fixed.
Examples#
>>> import pyvista as pv
>>> ellipse = pv.Ellipse(semi_major_axis=8, semi_minor_axis=4)
>>> ellipse.plot(show_edges=True, line_width=5)