[gdal-dev] pixel class
Even Rouault
even.rouault at spatialys.com
Wed Jul 31 09:48:04 PDT 2024
Le 31/07/2024 à 10:19, Javier Jimenez Shaw via gdal-dev a écrit :
> Hi
>
> I am working in an algorithm that uses a lot of pixel positions both
> as int and double, offset of pixels, etc.
> Is there any class that avoids me to use a variable for the x and
> another for the y... for everything? It would make the code much simpler.
> Something where I can multiply by a factor (all the components), or
> sum another pixel (as an offset), and so on. Of course, set and get
> each component.
We have OGRRawPoint in ogr_geometry.h for x,y double.
--
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240731/36ba2762/attachment.htm>
More information about the gdal-dev
mailing list