All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Reprojection.cpp File Reference

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::NearestNeighbor)
 
bool IsPointOnLine (te::gm::Coord2D &p, te::gm::Coord2D &q, te::gm::Coord2D &t, double tol)
 

Detailed Description

It contains the algorithm to reproject raster data.

Definition in file Reprojection.cpp.

Function Documentation

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().