# Examples from pyvista.CircularArc
# =================================

# Create a quarter arc centered at the origin in the xy plane.
import pyvista as pv
arc = pv.CircularArc(pointa=[-1, 0, 0], pointb=[0, 1, 0], center=[0, 0, 0])
pl = pv.Plotter()
_ = pl.add_mesh(arc, color='k', line_width=10)
_ = pl.show_bounds(location='all', font_size=30, use_2d=True)
_ = pl.view_xy()
pl.show()

# See Create Circular Arcs and Plot Curved Flight Paths on a Globe
# for more examples using this function.

# ----------------------------------------------------------------------
# Generated by sphinx-examples-as-code https://github.com/pyvista/sphinx-examples-as-code

