/********************************************************************** * * GEOS - Geometry Engine Open Source * http://geos.osgeo.org * * Copyright (C) 2024 ISciences, LLC * * This is free software; you can redistribute and/or modify it under * the terms of the GNU Lesser General Public Licence as published * by the Free Software Foundation. * See the COPYING file for more information. * **********************************************************************/ #pragma once #include namespace geos { namespace geom { class GEOS_DLL CurvePolygon : public SurfaceImpl { friend class GeometryFactory; public: ~CurvePolygon() override = default; double getArea() const override; std::unique_ptr getBoundary() const override; std::unique_ptr getCoordinates() const override; std::string getGeometryType() const override; GeometryTypeId getGeometryTypeId() const override; bool hasCurvedComponents() const override; void normalize() override; protected: using SurfaceImpl::SurfaceImpl; Geometry* cloneImpl() const override; int getSortIndex() const override { return SORTINDEX_CURVEPOLYGON; } Geometry* reverseImpl() const override; }; } }