GEOS 3.13.1
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
geos::geom::GeometryFactory Class Reference

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< GeometrytoGeometry (const Envelope *envelope) const
 
const PrecisionModelgetPrecisionModel () const
 Returns the PrecisionModel that Geometries created by this factory will be associated with.
 
std::unique_ptr< PointcreatePoint (std::size_t coordinateDimension=2) const
 Creates an EMPTY Point.
 
std::unique_ptr< PointcreatePoint (bool hasZ, bool hasM) const
 
std::unique_ptr< PointcreatePoint (const Coordinate &coordinate) const
 Creates a Point using the given Coordinate.
 
std::unique_ptr< PointcreatePoint (const CoordinateXY &coordinate) const
 
std::unique_ptr< PointcreatePoint (const CoordinateXYM &coordinate) const
 
std::unique_ptr< PointcreatePoint (const CoordinateXYZM &coordinate) const
 
std::unique_ptr< PointcreatePoint (std::unique_ptr< CoordinateSequence > &&coordinates) const
 Creates a Point taking ownership of the given