comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: how to define theta and phi of a sphere in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: how to define theta and phi of a sphere in IDL [message #68587 is a reply to message #68586] Sat, 14 November 2009 22:11 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
nisha katyal writes:

> No, actually i do not want to define it that way. I want to define
> x,y,z cordinates in terms of r,theta,phi. i.e
> x=r*sin(theta)cos(phi)
> y=r*cos(theta)sin(phi)
> z=r*cos(theta)
>
> I don not kno the difference in defining theta and phi....

Well, maybe a picture will help:

http://en.wikipedia.org/wiki/Spherical_coordinate_system

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to define theta and phi of a sphere in IDL
Next Topic: Merge polygons using IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 23:09:48 PDT 2025

Total time taken to generate the page: 0.72253 seconds