[Gdal-dev] Complex Data Types
Frank Warmerdam
warmerdam at pobox.com
Wed Aug 23 09:56:18 EDT 2006
Matt Hanson wrote:
> Ok, so if I defined my own complex structure
>
> struct CInt16 {
> int16 real;
> int16 imag;
> }
>
> and declare a pointer for a 100x100 section:
> CInt16 *cbuff = new CInt16[100*100]
>
> I *think* I should be able to pass this to RasterIO using the GDT_CInt16 type, correct?
Matt,
Yes, this should work just fine
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGF, http://osgeo.org
More information about the Gdal-dev
mailing list