MathGroup Archive 1998

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

Search the Archive

Cuboid & RotateShape

  • To: mathgroup at smc.vnet.net
  • Subject: [mg15184] Cuboid & RotateShape
  • From: "Richard W. Klopp" <rwklopp at unix.sri.com>
  • Date: Fri, 18 Dec 1998 23:20:25 -0500
  • Organization: SRI International
  • Sender: owner-wri-mathgroup at wolfram.com

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