GEOS  3.8.0
Intersection.h
1 /**********************************************************************
2  *
3  * GEOS - Geometry Engine Open Source
4  * http://geos.osgeo.org
5  *
6  * Copyright (C) 2019 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 #ifndef GEOS_ALGORITHM_INTERSECTION_H
16 #define GEOS_ALGORITHM_INTERSECTION_H
17 
18 #include <geos/export.h>
19 #include <geos/geom/Coordinate.h>
20 #include <geos/geom/CoordinateSequence.h>
21 
22 namespace geos {
23 namespace algorithm { // geos::algorithm
24 
47 class GEOS_DLL Intersection {
48 
49 public:
50 
51 static geom::Coordinate intersection(const geom::Coordinate& p1, const geom::Coordinate& p2,
52  const geom::Coordinate& q1, const geom::Coordinate& q2);
53 
54 };
55 
56 
57 } // namespace geos::algorithm
58 } // namespace geos
59 
60 
61 #endif // GEOS_ALGORITHM_INTERSECTION_H
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
Definition: Intersection.h:47
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25