🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.graphics.explorer
Article #233

how to print out **dims

#233
From: Jim Haxby
Date: Fri, 22 Jan 1993 22:05
21 lines
969 bytes
How can I print out the dimension info of a 2d-lattice

I call the cxLatDescGet function:

        long d_nDims;
        long **d_nDim;
        long d_hasData;
        long d_nDataVar;
        cxPrimType d_primType;
        long d_hasCoord;
        long d_nCoordVar;
        cxCoordType d_coordType;

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


I have been trying various ways to print out the 'd_nDim' content and
have been geeting segmentation fault all the time.

Thanks.   
Technical Details
Message-ID: <1993Jan22.220527.14043@alw.nih.gov>
Path: arc1-ca.pugleaf.net!sparky!uunet!nih-csl!postman

Show Full Headers
Complete Article Headers
Newsgroups: comp.graphics.explorer
Path: arc1-ca.pugleaf.net!sparky!uunet!nih-csl!postman
From: lnspet@forest.nia.nih.gov (Jim Haxby)
Subject: how to print out **dims
Message-ID: <1993Jan22.220527.14043@alw.nih.gov>
Sender: postman@alw.nih.gov (AMDS Postmaster)
Organization: National Institutes of Health, Bethesda, MD
Date: Fri, 22 Jan 1993 22:05:27 GMT
Lines: 24