Utility functions for MNT support. More...
#include "Utils.h"#include "CalculateGrid.h"#include "SplineGrass.h"#include "../../common/progress/TaskProgress.h"#include "../../dataaccess/datasource/DataSourceTransactor.h"#include "../../dataaccess/utils/Utils.h"#include "../../datatype/SimpleProperty.h"#include "../../geometry/GeometryProperty.h"#include "../../geometry/Point.h"#include "../../memory/DataSet.h"#include "../../memory/DataSetItem.h"#include "../../raster.h"#include "../../vp/Utils.h"#include <geos/geom/Coordinate.h>#include <geos/simplify/DouglasPeuckerLineSimplifier.h>#include <cmath>#include <iostream>#include <limits>#include <stdint.h>Go to the source code of this file.
Functions | |
| double | TePerpendicularDistance (const te::gm::Coord2D &first, const te::gm::Coord2D &last, const te::gm::Coord2D &pin, te::gm::Coord2D &pinter) |
Utility functions for MNT support.
Definition in file src/terralib/mnt/core/Utils.cpp.
| double TePerpendicularDistance | ( | const te::gm::Coord2D & | first, |
| const te::gm::Coord2D & | last, | ||
| const te::gm::Coord2D & | pin, | ||
| te::gm::Coord2D & | pinter | ||
| ) |
Definition at line 269 of file src/terralib/mnt/core/Utils.cpp.
References dx, te::gm::Coord2D::getX(), te::gm::Coord2D::getY(), te::gm::Coord2D::x, and te::gm::Coord2D::y.
Referenced by te::mnt::DouglasPeuckerTA().