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

Function SimplifyDefault

libs/geometry/simplification.hpp:150–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148
149template <class IterT, class PointT>
150void SimplifyDefault(IterT beg, IterT end, double squareEps, std::vector<PointT> & out)
151{
152 m2::SquaredDistanceFromSegmentToPoint distFn;
153 SimplifyNearOptimal(20 /* maxFalseLookAhead */, beg, end, squareEps, distFn,
154 AccumulateSkipSmallTrg(distFn, out, squareEps));
155}

Callers 3

operator()Method · 0.85
SimplifyPointsFunction · 0.85
SimplifyMethod · 0.85

Calls 2

SimplifyNearOptimalFunction · 0.85

Tested by 1

SimplifyPointsFunction · 0.68