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

Method SetGeomType

libs/indexer/feature_data.cpp:364–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362}
363
364void FeatureParams::SetGeomType(feature::GeomType t)
365{
366 switch (t)
367 {
368 case GeomType::Point: m_geomType = HeaderGeomType::Point; break;
369 case GeomType::Line: m_geomType = HeaderGeomType::Line; break;
370 case GeomType::Area: m_geomType = HeaderGeomType::Area; break;
371 default: ASSERT(false, ());
372 }
373}
374
375void FeatureParams::SetGeomTypePointEx()
376{

Callers 3

SetCenterMethod · 0.80
SetLinearMethod · 0.80
SetAreaMethod · 0.80

Calls 1

ASSERTFunction · 0.85

Tested by

no test coverage detected