MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Cuboid & RotateShape


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?
>



  • Prev by Date: Re: Cuboid & RotateShape
  • Next by Date: This is to the recent Black-Sholes thread
  • Previous by thread: Re: Cuboid & RotateShape
  • Next by thread: Re: