libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
Transformation.cpp File Reference
#include <osmscout/util/Transformation.h>
#include <limits>

Namespaces

 osmscout
 

Functions

static double osmscout::CalculateDistancePointToLineSegment (const TransPolygon::TransPoint &p, const TransPolygon::TransPoint &a, const TransPolygon::TransPoint &b)
 Calculates the distance between a point p and a line defined by the points a and b. More...
 
static double osmscout::CalculateDistancePointToPoint (const TransPolygon::TransPoint &a, const TransPolygon::TransPoint &b)
 
static void osmscout::SimplifyPolyLineDouglasPeucker (TransPolygon::TransPoint *points, size_t beginIndex, size_t endIndex, size_t endValueIndex, double optimizeErrorToleranceSquared)