It contains the algorithm to reproject raster data. More...
#include "../common/STLUtils.h"#include "../geometry/Coord2D.h"#include "../geometry/Envelope.h"#include "../srs/Converter.h"#include "Band.h"#include "BandProperty.h"#include "Exception.h"#include "Grid.h"#include "Interpolator.h"#include "Raster.h"#include "RasterFactory.h"#include "Reprojection.h"#include <algorithm>#include <cstdlib>Go to the source code of this file.
Functions | |
| bool | InterpolateIn (te::rst::Raster const *const rin, te::rst::Raster *rout, te::gm::Envelope *box, te::srs::Converter *conv, int m=te::rst::Interpolator::NearestNeighbor) | 
| bool | IsPointOnLine (te::gm::Coord2D &p, te::gm::Coord2D &q, te::gm::Coord2D &t, double tol) | 
It contains the algorithm to reproject raster data.
Definition in file Reprojection.cpp.
| bool InterpolateIn | ( | te::rst::Raster const *const | rin, | 
| te::rst::Raster * | rout, | ||
| te::gm::Envelope * | box, | ||
| te::srs::Converter * | conv, | ||
| int | m = te::rst::Interpolator::NearestNeighbor  | 
        ||
| ) | 
Definition at line 128 of file Reprojection.cpp.
References te::rst::Grid::geoToGrid(), te::rst::Raster::getGrid(), te::gm::Envelope::getLowerLeft(), te::rst::Raster::getNumberOfBands(), te::rst::Raster::getResolutionX(), te::rst::Raster::getResolutionY(), te::gm::Envelope::getUpperRight(), te::rst::Interpolator::getValue(), te::rst::Grid::gridToGeo(), te::srs::Converter::invert(), te::rst::Grid::isPointInGrid(), IsPointOnLine(), te::rst::Raster::setValue(), te::gm::Coord2D::x, and te::gm::Coord2D::y.
Referenced by te::rst::Reproject().
| bool IsPointOnLine | ( | te::gm::Coord2D & | p, | 
| te::gm::Coord2D & | q, | ||
| te::gm::Coord2D & | t, | ||
| double | tol | ||
| ) | 
Definition at line 282 of file Reprojection.cpp.
References te::gm::Coord2D::x, and te::gm::Coord2D::y.
Referenced by InterpolateIn().