🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.graphics.explorer
Article #235

Re: how to print out **dims

#235
From: Dave Shreiner
Date: Fri, 22 Jan 1993 22:40
29 lines
1447 bytes
In article <1993Jan22.220527.14043@alw.nih.gov>, lnspet@forest.nia.nih.gov (Jim Haxby) writes:
> How can I print out the dimension info of a 2d-lattice
> 
> I call the cxLatDescGet function:
> 
>         long d_nDims;
>         long **d_nDim;
---------------^
   This is the problem.  The function wants a '**' on the receiving end.
What you really want is 

	  long *d_nDim;

>         cxLatDescGet(lattice_2d, &d_nDims, d_nDim, &d_hasData, &d_nDataVar,
>                         &d_primType, &d_hasCoord, &d_nCoordVar, &d_coordType);

   and change this call to be like

	cxLatDescGet(lattice_2d, &d_nDims, &d_nDim, ... );

Thanx,
Dave

  ---------------------------------------------------------------------------

   Dave Shreiner                                        <shreiner@sgi.com>
   Silicon Graphics, Inc.                                (415) 390 - 5063

  "There's never time to say all the things we need to say" - Fates Warning
Technical Details
Message-ID: <1993Jan22.224028.14486@odin.corp.sgi.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!sgigate!odin!arioch.clubfed.sgi.com!shreiner
References: <1993Jan22.220527.14043@alw.nih.gov>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!sgigate!odin!arioch.clubfed.sgi.com!shreiner
From: shreiner@arioch.clubfed.sgi.com (Dave Shreiner)
Newsgroups: comp.graphics.explorer
Subject: Re: how to print out **dims
Message-ID: <1993Jan22.224028.14486@odin.corp.sgi.com>
Date: 22 Jan 93 22:40:28 GMT
References: <1993Jan22.220527.14043@alw.nih.gov>
Sender: news@odin.corp.sgi.com (Net News)
Organization: Silicon Graphics, Inc.
Lines: 29
Nntp-Posting-Host: arioch.clubfed.sgi.com