#include <geos.h>
Public Member Functions | |
| GeometricShapeFactory (const GeometryFactory *factory) | |
| Create a shape factory which will create shapes using the given GeometryFactory. | |
| LineString * | createArc (double startAng, double endAng) |
| Creates a elliptical arc, as a LineString. | |
| Polygon * | createCircle () |
| Creates a circular Polygon. | |
| Polygon * | createRectangle () |
| Creates a rectangular Polygon. | |
| void | setBase (const Coordinate &base) |
| Sets the location of the shape by specifying the base coordinate (which in most cases is the * lower left point of the envelope containing the shape). | |
| void | setCentre (const Coordinate ¢re) |
| Sets the location of the shape by specifying the centre of the shape's bounding box. | |
| void | setHeight (double height) |
| Sets the height of the shape. | |
| void | setNumPoints (int nNPts) |
| Sets the total number of points in the created Geometry. | |
| void | setSize (double size) |
| Sets the size of the extent of the shape in both x and y directions. | |
| void | setWidth (double width) |
| Sets the width of the shape. | |
|
|
Create a shape factory which will create shapes using the given GeometryFactory.
|
|
||||||||||||
|
Creates a elliptical arc, as a LineString.
|
|
|
Creates a circular Polygon.
|
|
|
Creates a rectangular Polygon.
|
|
|
Sets the location of the shape by specifying the base coordinate (which in most cases is the * lower left point of the envelope containing the shape).
|
|
|
Sets the location of the shape by specifying the centre of the shape's bounding box.
|
|
|
Sets the height of the shape.
|
|
|
Sets the total number of points in the created Geometry. Sets the total number of points in the created Geometry |
|
|
Sets the size of the extent of the shape in both x and y directions.
|
|
|
Sets the width of the shape.
|
1.3.9.1