21 #ifndef GEOS_UTIL_GEOMETRICSHAPEFACTORY_H
22 #define GEOS_UTIL_GEOMETRICSHAPEFACTORY_H
24 #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;
77 void setSize(
double size);
78 void setWidth(
double nWidth);
79 void setHeight(
double nHeight);
200 #endif // GEOS_UTIL_GEOMETRICSHAPEFACTORY_H
GeometricShapeFactory(const geom::GeometryFactory *factory)
Create a shape factory which will create shapes using the given GeometryFactory.
void setHeight(double height)
Sets the height of the shape.
Definition: GeometricShapeFactory.h:66
Specifies the precision model of the Coordinate in a Geometry.
Definition: PrecisionModel.h:87
geom::Polygon * createCircle()
Creates a circular Polygon.
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
geom::LineString * createArc(double startAng, double angExtent)
Creates an elliptical arc, as a LineString.
Represents a linear polygon, which may include holes.
Definition: Polygon.h:67
void setNumPoints(int nNPts)
Sets the total number of points in the created Geometry.
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
void setBase(const geom::Coordinate &base)
Sets the location of the shape by specifying the base coordinate (which in most cases is the * lower ...
void setWidth(double width)
Sets the width of the shape.
void setSize(double size)
Sets the size of the extent of the shape in both x and y directions.
An Envelope defines a rectangulare region of the 2D coordinate plane.
Definition: Envelope.h:59
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:67
void setCentre(const geom::Coordinate ¢re)
Sets the location of the shape by specifying the centre of the shape's bounding box.
Definition: LineString.h:70
geom::Polygon * createRectangle()
Creates a rectangular Polygon.
geom::Polygon * createArcPolygon(double startAng, double angExt)
Creates an elliptical arc polygon.