Documentation for /home/davin/idl/socware/

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

general/tools/misc/

enclosed.pro


FUNCTION: w = enclosed(x,y [cx,cy],NCIRCS=NCIRCS,COUNT=COUNT) PURPOSE: Returns the indices of a set of x,y points that are inside a contour. INPUT: x,y: data set of points. (x and y must be the same dimension) cx,cy: vector of x,y pairs that describe a closed contour. if cx,cy are not provided then the cursor is used to obtain it. OUTPUT: W: Array of indices of x (& y) that are within the contour cx,cy. NCIRCS: Same dimension as x (& y); integer array giving the number of times each point is encircled. COUNT: Size of array W

Routines

top source enclosed

result = enclosed(x, y, cx, cy, xlog=xlog, ylog=ylog, count=count, ncircs=ncircs, limits=limits)

Parameters

x
y
cx
cy

Keywords

xlog
ylog
count
ncircs
limits

File attributes

Modification date: Thu Feb 13 16:43:14 2014
Lines: 35