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

Method Finish

generator/coastlines_generator.cpp:161–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161bool CoastlineFeaturesGenerator::Finish()
162{
163 coastlines_generator::DoAddToTree doAdd(*this);
164 m_merger.DoMerge(doAdd);
165
166 if (doAdd.HasNotMergedCoasts())
167 {
168 LOG(LINFO, ("Total not merged coasts:", doAdd.GetNotMergedCoastsCount()));
169 LOG(LINFO, ("Total points in not merged coasts:", doAdd.GetNotMergedCoastsPoints()));
170 return false;
171 }
172
173 return true;
174}
175
176class RegionInCellSplitter final
177{

Callers

nothing calls this directly

Calls 4

HasNotMergedCoastsMethod · 0.80
DoMergeMethod · 0.45

Tested by

no test coverage detected