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

Home » Public Forums » archive » create oval shape
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: create oval shape [message #91742 is a reply to message #91741] Tue, 18 August 2015 13:45 Go to previous messageGo to previous message
g.nacarts is currently offline  g.nacarts
Messages: 148
Registered: November 2013
Senior Member
I didn't understand how to use the DIST_ELLIPSE though.

I typed
> IDL dist_ellipse, ellipse_distances, [300,300], x_center, y_center, 2.0

And I got the following:

Syntax - DIST_ELLIPSE, im, n, xc, yc, ratio, pos_ang, /DOUBLE
im - output elliptical mask image array
n - size of output image mask, scalar or 2 element vector
xc,yc - coordinates of ellipse center, scalars
ratio - ratio of major to minor axis of ellipse, scalar
pos_ang - position angle, counterclockwise from up

I didn't see how I'll get the distances from center using this function.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: calling C++ from within IDL
Next Topic: Apply a shapefile to raster images in IDL

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

Current Time: Fri Oct 10 08:36:32 PDT 2025

Total time taken to generate the page: 1.19982 seconds