Re: Cuboid & RotateShape
- To: mathgroup at smc.vnet.net
- Subject: [mg15197] Re: [mg15184] Cuboid & RotateShape
- From: "Kevin J. McCann" <kevinmccann at Home.com>
- Date: Tue, 22 Dec 1998 04:01:31 -0500
- Sender: owner-wri-mathgroup at wolfram.com
Cuboid has its sides parallel to the coordinate axes (try ?Cuboid).
Kevin
-----Original Message-----
From: Richard W. Klopp <rwklopp at unix.sri.com> To: mathgroup at smc.vnet.net
Subject: [mg15197] [mg15184] Cuboid & RotateShape
>How come Cuboid[] appears to be designed such that RotateShape doesn't
>work on it? The following doesn't do any rotation:
>
>RotateShape[
> Graphics3D[Cuboid [{0.1,1,1}]],
> Pi/4,0,0]
>
>The following is a workaround:
>
>RotateShape[
> AffineShape[Polyhedron[Cube],{0.1,1,1}],
> Pi/4,0,0]
>
>RotateShape looks for Polygon, Line, or Point objects to rotate, so
>Cuboid must somehow not be made of those things. Is this correct? Is
>there a reason that Cuboid[] is designed this way?
>