[Paraview] Getting the axis-aligned bounding box of an object with Python

Hal Canary hal at cs.unc.edu
Sat Mar 3 21:17:57 EST 2012


On 3/3/2012 3:00 PM, Olumide wrote:
> Hi -
> 
> Would someone kindly tell me how to compute the axis-aligned bounding
> box of an object with Python.
> 
> Thanks,
> 
> - Olumide



  (xmin,xmax,ymin,ymax,zmin,zmax) =
      GetActiveSource().GetDataInformation().GetBounds()


More information about the ParaView mailing list