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

Function GetEpsilonImpl

libs/indexer/scales.cpp:49–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47namespace
48{
49double GetEpsilonImpl(long level, double pixelTolerance)
50{
51 return mercator::Bounds::kRangeX * pixelTolerance / double(256L << level);
52}
53} // namespace
54
55double GetEpsilonForLevel(int level)

Callers 3

GetEpsilonForLevelFunction · 0.85
GetEpsilonForSimplifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected