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

Method IsEmptyGeometry

libs/indexer/feature.cpp:760–770  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

758}
759
760bool FeatureType::IsEmptyGeometry(int scale)
761{
762 ParseGeometryAndTriangles(scale);
763
764 switch (GetGeomType())
765 {
766 case GeomType::Area: return m_triangles.empty();
767 case GeomType::Line: return m_points.empty();
768 default: return false;
769 }
770}
771
772size_t FeatureType::GetPointsCount() const
773{

Callers 4

operator()Method · 0.80
IsDrawableFunction · 0.80
operator()Method · 0.80

Calls 1

emptyMethod · 0.45

Tested by 2

IsDrawableFunction · 0.64
operator()Method · 0.64