Re: Getting the size of the bounding box of a Graphics3D[]
- To: mathgroup at smc.vnet.net
- Subject: [mg88400] Re: Getting the size of the bounding box of a Graphics3D[]
- From: "David Park" <djmpark at comcast.net>
- Date: Mon, 5 May 2008 06:07:57 -0400 (EDT)
- References: <fvhevb$4gp$1@smc.vnet.net>
I think it's a bug for Sphere.
It works for other things.
plot1 = ParametricPlot3D[{Sin[u], Sin[u], Cos[u]} {Cos[v], Sin[v],
1}, {u, 0, Pi}, {v, 0, 2 Pi}]
PlotRange /. AbsoluteOptions[plot1]
{{-1., 1.}, {-1., 1.}, {-1., 1.}}
--
David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/
"Szabolcs Horv=E1t" <szhorvat at gmail.com> wrote in message
news:fvhevb$4gp$1 at smc.vnet.net...
>
> 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.}}.
>
- Follow-Ups:
- Re: Re: Getting the size of the bounding box of a Graphics3D[]
- From: "W_Craig Carter" <ccarter@mit.edu>
- Re: Re: Getting the size of the bounding box of a Graphics3D[]