#include <LinearGeometryBuilder.h>
Builds a linear geometry (LineString or MultiLineString) incrementally (point-by-point).
- Version
- 1.7
◆ add() [1/2]
Adds a point to the current line.
- Parameters
-
◆ add() [2/2]
void geos::linearref::LinearGeometryBuilder::add |
( |
const geom::Coordinate & |
pt, |
|
|
bool |
allowRepeatedPoints |
|
) |
| |
Adds a point to the current line.
- Parameters
-
◆ setFixInvalidLines()
void geos::linearref::LinearGeometryBuilder::setFixInvalidLines |
( |
bool |
fixInvalidLines | ) |
|
Allows invalid lines to be ignored rather than causing Exceptions. An invalid line is one which has only one unique point.
- Parameters
-
ignoreShortLines | true if short lines are to be ignored |
◆ setIgnoreInvalidLines()
void geos::linearref::LinearGeometryBuilder::setIgnoreInvalidLines |
( |
bool |
ignoreInvalidLines | ) |
|
Allows invalid lines to be ignored rather than causing Exceptions. An invalid line is one which has only one unique point.
- Parameters
-
ignoreShortLines | true if short lines are to be ignored |
The documentation for this class was generated from the following file: