magpie.pixel.get_box
- magpie.pixel.get_box(xmin, xmax, ymin, ymax, zmin, zmax[, steps=120, return_nearest=False, center=[0., 0., 0.]])
Returns 3D coordinates for a box.
- Parameters
- xminfloat
Minimum x value.
- xmaxfloat
Maximum x value.
- yminfloat
Minimum y value.
- ymaxfloat
Maximum y value.
- zminfloat
Minimum z value.
- zmaxfloat
Maximum z value.
- stepsint, optional
Number of divisions in each line element.
- return_nearestbool, optional
If True only the lines for the nearest or visible faces from a defined center will be outputed.
- centerlist, optional
Coordinate center used for return_nearest=True
- Returns
- x, y, zarray
Coordinates of the box edges.