p.s., Re: Questions about Contour2D class

On Fri, 12 Dec 2003, Bill Hibbard wrote:

> >     vx1, vy1 two dimensional arrays mystify me though.  What are they?  I
> > assume it has something to
> >     do with geolocation.  Does the order go in lock step with g, per say (g,
> > x,y) when you build the arrays?
> >     That's what confuses me.  I don't understand why it's a two dimensional
> > array if that's the case.
>
> vx1 and vy1 are 2-D arrays to allow the contour() method to
> change their sizes and return the variable-sized arrays back
> to the caller. They are dimensioned float[1][numv1[0]]. Note
> numv1 is dimensioned int[1] so it can be used to return an
> int value to the caller.

vx1 and vy1 (along with the other vx and vy arrays) are used
to return the coordinates of the lines that make up contours
and labels.


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