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.

To learn about what's going on, see About the Archive Site.

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


  • 2001 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: