NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

Re: ShapeSet

Doug,

> Now I see that the ShapeSet defines a set of range values
> that are mapped to array indices by (linear?) interpolation.
> Is that right?

Its done using the valueToIndex() method of the Set, except
that if the Set has only one member then the index is always
computed as 0 (i.e., pick the first VisADGeometryArray in
your VisADGeometryArray[]).

Cheers,
Bill
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html