| 53 | FeatureBuilder::FeatureBuilder() : m_coastCell(-1) {} |
| 54 | |
| 55 | bool FeatureBuilder::IsGeometryClosed() const |
| 56 | { |
| 57 | PointSeq const & poly = GetOuterGeometry(); |
| 58 | return (poly.size() > 2 && poly.front() == poly.back()); |
| 59 | } |
| 60 | |
| 61 | m2::PointD FeatureBuilder::GetGeometryCenter(PointSeq const & poly) |
| 62 | { |