|
GEOS 3.13.1
|
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geometry objects. More...
#include <GeometryFactory.h>
Public Types | |
| using | Ptr = std::unique_ptr< GeometryFactory, GeometryFactoryDeleter > |
Public Member Functions | |
| std::unique_ptr< Geometry > | toGeometry (const Envelope *envelope) const |
| const PrecisionModel * | getPrecisionModel () const |
| Returns the PrecisionModel that Geometries created by this factory will be associated with. | |
| std::unique_ptr< Point > | createPoint (std::size_t coordinateDimension=2) const |
| Creates an EMPTY Point. | |
| std::unique_ptr< Point > | createPoint (bool hasZ, bool hasM) const |
| std::unique_ptr< Point > | createPoint (const Coordinate &coordinate) const |
| Creates a Point using the given Coordinate. | |
| std::unique_ptr< Point > | createPoint (const CoordinateXY &coordinate) const |
| std::unique_ptr< Point > | createPoint (const CoordinateXYM &coordinate) const |
| std::unique_ptr< Point > | createPoint (const CoordinateXYZM &coordinate) const |
| std::unique_ptr< Point > | createPoint (std::unique_ptr< CoordinateSequence > &&coordinates) const |
| Creates a Point taking ownership of the given | |