21 #ifndef GEOS_UTIL_GEOMETRICSHAPEFACTORY_H 22 #define GEOS_UTIL_GEOMETRICSHAPEFACTORY_H 24 #include <geos/export.h> 28 #include <geos/geom/Coordinate.h> 32 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class 41 class GeometryFactory;
78 void setSize(
double size);
79 void setWidth(
double nWidth);
80 void setHeight(
double nHeight);
83 std::unique_ptr<geom::Envelope> getEnvelope()
const;
116 std::unique_ptr<geom::LineString> createArc(
double startAng,
double angExtent);
129 std::unique_ptr<geom::Polygon> createArcPolygon(
double startAng,
double angExt);
136 std::unique_ptr<geom::Polygon> createCircle();
143 std::unique_ptr<geom::Polygon> createRectangle();
169 void setHeight(
double height);
174 void setNumPoints(
int nNPts);
182 void setSize(
double size);
189 void setWidth(
double width);
200 #endif // GEOS_UTIL_GEOMETRICSHAPEFACTORY_H Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
Specifies the precision model of the Coordinate in a Geometry.
Definition: PrecisionModel.h:87
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:68
Definition: GeometricShapeFactory.h:67
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25