MathGroup Archive 2001

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

Search the Archive

Re: I want to rotate a series points around a spatial line

  • To: mathgroup at smc.vnet.net
  • Subject: [mg28633] Re: I want to rotate a series points around a spatial line
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Thu, 3 May 2001 04:28:24 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <9cfsa4$gqb@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

look into the source code of Graphics`SurfaceOfRevolution`

there is a function that make the rotation matrix from
the axes, angle notation of a rotation. When you have the 
rotation matrix you can rotate your points.

Regards
  Jens

liwen liwen wrote:
> 
> Dear friends;
> 
> How are you!
> I want to rotate a series points around a line, for
> example,ptset={{0,0},{5,5},{2,5},{7,9}};
> the line goes through {1,1,1} and {4,5,7}, I want to
> rotate the ptset around the line for t angle,
> what should I do?
> 
> Thank you very much!
> 
> Liwen
> e-mail: gzgear at yahoo.com
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/


  • Prev by Date: Re: Simplify
  • Next by Date: mouse click with Mathematica 4.0
  • Previous by thread: Re: Simplify
  • Next by thread: mouse click with Mathematica 4.0