# Examples from pyvista.PolyData.is_all_triangles
# ===============================================

# Show a mesh from `pyvista.Plane()` is not composed of all
# triangles.
import pyvista as pv
plane = pv.Plane()
plane.is_all_triangles

# Show that the mesh from `pyvista.Sphere()` contains only
# triangles.
sphere = pv.Sphere()
sphere.is_all_triangles

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

