pyvista.BoxSource#
- class BoxSource(bounds=(-1.0, 1.0, -1.0, 1.0, -1.0, 1.0), level=0, quads=True)[source]#
Create a box source.
Added in version 0.44.
- Parameters:
- boundssequence[
float
], default: (-1.0, 1.0, -1.0, 1.0, -1.0, 1.0) Specify the bounds of the box.
(x_min, x_max, y_min, y_max, z_min, z_max)
.- level
int
, default: 0 Level of subdivision of the faces.
- quadsbool, default:
True
Flag to tell the source to generate either a quad or two triangle for a set of four points.
- boundssequence[
Methods
Attributes
Return or set the bounds of the box.
Get level of subdivision of the faces.
Get the output data object for a port on this algorithm.
Flag to tell the source to generate either a quad or two triangle for a set of four points.