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

Method GetGeomType

libs/indexer/feature_data.cpp:383–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

381}
382
383feature::GeomType FeatureParams::GetGeomType() const
384{
385 CHECK(IsValid(), ());
386 switch (*m_geomType)
387 {
388 case HeaderGeomType::Line: return GeomType::Line;
389 case HeaderGeomType::Area: return GeomType::Area;
390 default: return GeomType::Point;
391 }
392}
393
394HeaderGeomType FeatureParams::GetHeaderGeomType() const
395{

Callers 1

TypesHolderMethod · 0.45

Calls 1

IsValidFunction · 0.50

Tested by

no test coverage detected