#include <LinearGeometryBuilder.h>
Public Member Functions | |
LinearGeometryBuilder (const geom::GeometryFactory *geomFact) | |
void | setIgnoreInvalidLines (bool ignoreInvalidLines) |
void | setFixInvalidLines (bool fixInvalidLines) |
void | add (const geom::Coordinate &pt) |
void | add (const geom::Coordinate &pt, bool allowRepeatedPoints) |
geom::Coordinate | getLastCoordinate () const |
NOTE strk: why return by value ? | |
void | endLine () |
Terminate the current LineString. | |
geom::Geometry * | getGeometry () |
|
Adds a point to the current line.
|
|
Adds a point to the current line.
|
|
Allows invalid lines to be ignored rather than causing Exceptions. An invalid line is one which has only one unique point.
|
|
Allows invalid lines to be ignored rather than causing Exceptions. An invalid line is one which has only one unique point.
|