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 bounding box of the cube.
(xMin, xMax, yMin, yMax, zMin, zMax)
.- 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 bounding box of the cube.
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.