GEOS 3.6.2
Location.h
1/**********************************************************************
2 *
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
5 *
6 * Copyright (C) 2006 Refractions Research Inc.
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_GEOM_LOCATION_H
16#define GEOS_GEOM_LOCATION_H
17
18#include <geos/export.h>
19#include <iostream> // for ostream
20
21#include <geos/inline.h>
22
23namespace geos {
24namespace geom { // geos::geom
25
35class GEOS_DLL Location {
36public:
37 enum Value {
38
42 UNDEF=-1, // Instead of NULL
43
50
57
64 };
65
66 static char toLocationSymbol(int locationValue);
67};
68
69} // namespace geos::geom
70} // namespace geos
71
72//#ifdef GEOS_INLINE
73//# include "geos/geom/Location.inl"
74//#endif
75
76#endif // ndef GEOS_GEOM_LOCATION_H
77
Constants representing the location of a point relative to a geometry.
Definition Location.h:35
Value
Definition Location.h:37
@ EXTERIOR
Definition Location.h:63
@ INTERIOR
Definition Location.h:49
@ BOUNDARY
Definition Location.h:56
@ UNDEF
Definition Location.h:42
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25