GEOS  3.9.1dev
RepeatedPointRemover.h
Go to the documentation of this file.
1 /**********************************************************************
2  *
3  * GEOS - Geometry Engine Open Source
4  * http://geos.osgeo.org
5  *
6  * Copyright (C) 2019 Daniel Baston <dbaston@gmail.com>
7  *
8  * This is free software; you can redistribute and/or modify it under
9  * the terms of the GNU Lesser General Public Licence as published
10  * by the Free Software Foundation.
11  * See the COPYING file for more information.
12  *
13  **********************************************************************/
14 
15 #ifndef GEOS_OP_VALID_REPEATEDPOINTREMOVER_H
16 #define GEOS_OP_VALID_REPEATEDPOINTREMOVER_H
17 
19 
20 namespace geos {
21 namespace operation {
22 namespace valid {
23 
26 
36  public:
37  static std::unique_ptr<geom::CoordinateArraySequence> removeRepeatedPoints(const geom::CoordinateSequence* seq);
38  };
39 }
40 }
41 }
42 
43 #endif
#define GEOS_DLL
Definition: export.h:28
Removes repeated, consecutive equal, coordinates from a CoordinateSequence.
Basic namespace for all GEOS functionalities.
The internal representation of a list of coordinates inside a Geometry.