23 #include <geos/export.h> 27 #include <geos/geom/Coordinate.h> 31 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class 40 class GeometryFactory;
71 geom::CoordinateXY base;
72 geom::CoordinateXY centre;
75 void setBase(
const geom::CoordinateXY& newBase);
76 void setCentre(
const geom::CoordinateXY& newCentre);
77 void setSize(
double size);
78 void setWidth(
double nWidth);
79 void setHeight(
double nHeight);
82 std::unique_ptr<geom::Envelope> getEnvelope()
const;
89 geom::CoordinateXY coord(
double x,
double y)
const;
115 std::unique_ptr<geom::LineString> createArc(
double startAng,
double angExtent);
128 std::unique_ptr<geom::Polygon> createArcPolygon(
double startAng,
double angExt);
135 std::unique_ptr<geom::Polygon> createCircle();
142 std::unique_ptr<geom::Polygon> createRectangle();
152 void setBase(
const geom::CoordinateXY& base);
161 void setCentre(
const geom::CoordinateXY& centre);
168 void setHeight(
double height);
173 void setNumPoints(uint32_t nNPts);
181 void setSize(
double size);
188 void setWidth(
double width);
Specifies the precision model of the Coordinate in a Geometry.
Definition: PrecisionModel.h:90
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:65
Computes various kinds of common geometric shapes.
Definition: GeometricShapeFactory.h:66
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25