Getting the size of the bounding box of a Graphics3D[]
- To: mathgroup at smc.vnet.net
- Subject: [mg88395] Getting the size of the bounding box of a Graphics3D[]
- From: Szabolcs Horvát <szhorvat at gmail.com>
- Date: Sat, 3 May 2008 06:31:47 -0400 (EDT)
- Organization: University of Bergen
Is there a reliable way to get the coordinates and size of the bounding
box of a Graphics3D object?
I tried
PlotRange /. AbsoluteOptions[Graphics3D[Sphere[]]]
but it gives {{0., 1.}, {0., 1.}, {0., 1.}}, whereas the correct answer
should be {{-1., 1.}, {-1., 1.}, {-1., 1.}}.