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

Method GetLayer

libs/indexer/feature.cpp:342–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340}
341
342int8_t FeatureType::GetLayer()
343{
344 if ((m_header & feature::HEADER_MASK_HAS_LAYER) == 0)
345 return feature::LAYER_EMPTY;
346
347 ParseCommon();
348 return m_params.layer;
349}
350
351// TODO: One of the free bits could be used for a closed line flag to avoid storing identical first + last points.
352void FeatureType::ParseHeader2()

Callers 5

ShowInfoPopupMethod · 0.45
SetFromFeatureTypeMethod · 0.45
PriorityToDepthMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected