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

Method CalculateMidPoints

generator/feature_helpers.cpp:12–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10namespace feature
11{
12CalculateMidPoints::CalculateMidPoints()
13{
14 m_minDrawableScaleFn = [](FeatureBuilder const & fb)
15 { return GetMinDrawableScale(fb.GetTypesHolder(), fb.GetLimitRect()); };
16}
17
18void CalculateMidPoints::operator()(FeatureBuilder const & ft, uint64_t pos)
19{

Callers

nothing calls this directly

Calls 3

GetMinDrawableScaleFunction · 0.85
GetTypesHolderMethod · 0.80
GetLimitRectMethod · 0.45

Tested by

no test coverage detected