21 #ifndef GEOS_UTIL_GEOMETRICSHAPEFACTORY_H 22 #define GEOS_UTIL_GEOMETRICSHAPEFACTORY_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(uint32_t 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.
Specifies the precision model of the Coordinate in a Geometry.
const geom::GeometryFactory * geomFact
const geom::PrecisionModel * precModel
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Computes various kinds of common geometric shapes.
Basic namespace for all GEOS functionalities.
virtual ~GeometricShapeFactory()