pyvista.ParametricBoy

Contents

pyvista.ParametricBoy#

ParametricBoy(zscale: float | None = None, **kwargs) PolyData[source]#

Generate Boy’s surface.

This is a model of the projective plane without singularities. It was found by Werner Boy on assignment from David Hilbert.

For further information about this surface, please consult the technical description “Parametric surfaces” in the “VTK Technical Documents” section in the VTK.org web pages.

Parameters:
zscalefloat, optional

The scale factor for the z-coordinate.

**kwargsdict, optional

See surface_from_para() for additional keyword arguments.

Returns:
pyvista.PolyData

ParametricBoy surface.

Examples

Create a ParametricBoy mesh.

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