MCPcopy Create free account
hub / github.com/comaps/comaps / SimplifyPoints

Function SimplifyPoints

libs/coding/coding_tests/geometry_coding_test.cpp:77–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77vector<m2::PointU> SimplifyPoints(vector<m2::PointU> const & points, double eps)
78{
79 vector<m2::PointU> simpPoints;
80 SimplifyDefault(points.begin(), points.end(), eps, simpPoints);
81 return simpPoints;
82}
83
84void TestEncodePolyline(string name, m2::PointU maxPoint, vector<m2::PointU> const & points)
85{

Callers 1

UNIT_TESTFunction · 0.70

Calls 3

SimplifyDefaultFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected