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

Home » Public Forums » archive » Re: Sphere in iTools?
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: Sphere in iTools? [message #42067 is a reply to message #42063] Fri, 17 December 2004 13:37 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
Joe wrote:
> Hello-
>
> I'm relatively new to IDL programming so please forgive me if this is a
> stupid question...
>
> How can I create a sphere using iTools?

I can only get you half-way.

You can get the vertices and connectivity for a sphere from the "orb"
object:

oOrb = OBJ_NEW('orb', RADIUS=2.0, DENSITY=2.0)
oOrb -> GetProperty, DATA=verts, POLYGONS=conn
OBJ_DESTROY, oOrb

What you do with the data in verts and conn in iTools is up to you.

The more general question would be how to get an instance of
IDLgrPolygon into an iTool. If you get an answer to that, then you can
just drop the orb in and forget about the rest.

-Rick
[Message index]
 
Read Message
Read Message
Previous Topic: Re: How to add values over bars which I plotted?
Next Topic: Database Error

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

Current Time: Sun Oct 12 17:08:23 PDT 2025

Total time taken to generate the page: 1.43907 seconds