MathGroup Archive 1998

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

Search the Archive

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(2): Re: Together chokes with Prime Modulus > 46337
  • Next by Date: Re: Combinations
  • Previous by thread: Re(2): Re: Together chokes with Prime Modulus > 46337
  • Next by thread: Re: Cuboid & RotateShape