Re: Re: Getting the size of the bounding box of a Graphics3D[]
- To: mathgroup at smc.vnet.net
- Subject: [mg88481] Re: [mg88400] Re: Getting the size of the bounding box of a Graphics3D[]
- From: "W_Craig Carter" <ccarter at mit.edu>
- Date: Tue, 6 May 2008 06:42:22 -0400 (EDT)
- References: <fvhevb$4gp$1@smc.vnet.net> <200805051007.GAA08042@smc.vnet.net>
Hello David and Szabolcs,
Yes it does appear to be a bug for the new primitives:
PlotRange /. AbsoluteOptions[Graphics3D[Cylinder[]]]
PlotRange /.
AbsoluteOptions[Graphics3D[Cylinder[{{0, 0, 0}, {2, 1, 200}}, 1]]]
Same incorrect bounding box....
Cheers, Craig
On Mon, May 5, 2008 at 6:07 AM, David Park <djmpark at comcast.net> wrote:
> 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.}}
>
>
> "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?
> > 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.}}.
W. Craig Carter
- References:
- Re: Getting the size of the bounding box of a Graphics3D[]
- From: "David Park" <djmpark@comcast.net>
- Re: Getting the size of the bounding box of a Graphics3D[]