home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / graphics / explorer / 478 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1.4 KB

  1. Path: sparky!uunet!olivea!sgigate!odin!arioch.clubfed.sgi.com!shreiner
  2. From: shreiner@arioch.clubfed.sgi.com (Dave Shreiner)
  3. Newsgroups: comp.graphics.explorer
  4. Subject: Re: how to print out **dims
  5. Message-ID: <1993Jan22.224028.14486@odin.corp.sgi.com>
  6. Date: 22 Jan 93 22:40:28 GMT
  7. References: <1993Jan22.220527.14043@alw.nih.gov>
  8. Sender: news@odin.corp.sgi.com (Net News)
  9. Organization: Silicon Graphics, Inc.
  10. Lines: 29
  11. Nntp-Posting-Host: arioch.clubfed.sgi.com
  12.  
  13. In article <1993Jan22.220527.14043@alw.nih.gov>, lnspet@forest.nia.nih.gov (Jim Haxby) writes:
  14. > How can I print out the dimension info of a 2d-lattice
  15. > I call the cxLatDescGet function:
  16. >         long d_nDims;
  17. >         long **d_nDim;
  18. ---------------^
  19.    This is the problem.  The function wants a '**' on the receiving end.
  20. What you really want is 
  21.  
  22.       long *d_nDim;
  23.  
  24. >         cxLatDescGet(lattice_2d, &d_nDims, d_nDim, &d_hasData, &d_nDataVar,
  25. >                         &d_primType, &d_hasCoord, &d_nCoordVar, &d_coordType);
  26.  
  27.    and change this call to be like
  28.  
  29.     cxLatDescGet(lattice_2d, &d_nDims, &d_nDim, ... );
  30.  
  31. Thanx,
  32. Dave
  33.  
  34.   ---------------------------------------------------------------------------
  35.  
  36.    Dave Shreiner                                        <shreiner@sgi.com>
  37.    Silicon Graphics, Inc.                                (415) 390 - 5063
  38.  
  39.   "There's never time to say all the things we need to say" - Fates Warning
  40.