Ilwis-Objects  1.0
GIS and Remote Sensing framework for data access and processing
 All Classes Functions Enumerations Pages
linerasterizer.h
1 #ifndef LINERASTERIZER_H
2 #define LINERASTERIZER_H
3 
4 namespace Ilwis {
5 class KERNELSHARED_EXPORT LineRasterizer
6 {
7 public:
8  LineRasterizer(const IGeoReference &grf, const ICoordinateSystem &csyIn);
9 
10  std::vector<Pixel> rasterize(const Coordinate &start, const Coordinate &end) const;
11 
12 private:
13  IGeoReference _grf;
14  ICoordinateSystem _csy;
15 
16  bool inBounds(const Ilwis::Pixeld &cur, const Ilwis::Size<> &size) const;
17 };
18 }
19 
20 #endif // LINERASTERIZER_H