GEOS: geos::CoordinateSequenceFactory Class Reference

- Main Page
- Namespaces
- Classes
- Files
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# geos::CoordinateSequenceFactory Class Reference

An object that knows how to build a particular implementation of CoordinateSequence from an array of Coordinates. More...

`#include <geos.h>`

Inheritance diagram for geos::CoordinateSequenceFactory:

List of all members.

## Public Member Functions
virtual CoordinateSequence * | create (vector< Coordinate > *coordinates) const =0
| Returns a CoordinateSequence based on the given array. Whether or not the vector is copied is implementation-dependent, for this reason caller does give up ownership of it. Implementations that will not copy it will need take care of deleting it. Note that a NULL value is allowed as coordinates, and will create an empty CoordinateSequence.

## Detailed Description

An object that knows how to build a particular implementation of CoordinateSequence from an array of Coordinates.

The documentation for this class was generated from the following file:

- geom.h