GEOS  3.9.1dev
Length.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) 2018 Paul Ramsey <pramsey@cleverlephant.ca>
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  * Last port: algorithm/Length.java @ 2017-09-04
16  *
17  **********************************************************************/
18 
19 #ifndef GEOS_ALGORITHM_LENGTH_H
20 #define GEOS_ALGORITHM_LENGTH_H
21 
22 #include <geos/export.h>
23 #include <geos/geom/Coordinate.h>
25 
26 namespace geos {
27 namespace algorithm { // geos::algorithm
28 
35 public:
36 
43  static double ofLine(const geom::CoordinateSequence* ring);
44 
45 };
46 
47 
48 } // namespace geos::algorithm
49 } // namespace geos
50 
51 
52 #endif // GEOS_ALGORITHM_LENGTH_H
#define GEOS_DLL
Definition: export.h:28
Functions for computing length.
Definition: Length.h:34
Basic namespace for all GEOS functionalities.
The internal representation of a list of coordinates inside a Geometry.