BoundingBox#

class ansys.meshing.prime.BoundingBox(model=None, xmin=None, ymin=None, zmin=None, xmax=None, ymax=None, zmax=None, json_data=None, **kwargs)#

Provides information about the definition of a bounding box.

Parameters:
model: Model

Model to create a BoundingBox object with default parameters.

xmin: float, optional

Minimal X coordinate of the bounding box.

ymin: float, optional

Minimal Y coordinate of the bounding box.

zmin: float, optional

Minimal Z coordinate of the bounding box.

xmax: float, optional

Maximal X coordinate of the bounding box.

ymax: float, optional

Maximal Y coordinate of the bounding box.

zmax: float, optional

Maximal Z coordinate of the bounding box.

json_data: dict, optional

JSON dictionary to create a BoundingBox object with provided parameters.

Examples

>>> bounding_box = prime.BoundingBox(model = model)

Methods

BoundingBox.print_default()

Print the default values of BoundingBox object.

BoundingBox.set_default([xmin, ymin, zmin, ...])

Set the default values of the BoundingBox object.

Attributes

BoundingBox.xmax

Maximal X coordinate of the bounding box.

BoundingBox.xmin

Minimal X coordinate of the bounding box.

BoundingBox.ymax

Maximal Y coordinate of the bounding box.

BoundingBox.ymin

Minimal Y coordinate of the bounding box.

BoundingBox.zmax

Maximal Z coordinate of the bounding box.

BoundingBox.zmin

Minimal Z coordinate of the bounding box.