[gdal-dev] pixel class

2024-07-31 Thread Javier Jimenez Shaw via gdal-dev
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 (

Re: [gdal-dev] pixel class

2024-07-31 Thread Even Rouault via gdal-dev
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 m