| 758 | } |
| 759 | |
| 760 | bool 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 | |
| 772 | size_t FeatureType::GetPointsCount() const |
| 773 | { |