GEOS  3.13.0dev
WKBConstants.h
1 /**********************************************************************
2  *
3  * GEOS - Geometry Engine Open Source
4  * http://geos.osgeo.org
5  *
6  * Copyright (C) 2005-2006 Refractions Research Inc.
7  * Copyright (C) 2001-2002 Vivid Solutions Inc.
8  *
9  * This is free software; you can redistribute and/or modify it under
10  * the terms of the GNU Lesser General Public Licence as published
11  * by the Free Software Foundation.
12  * See the COPYING file for more information.
13  *
14  **********************************************************************
15  *
16  * Last port: io/WKBConstants.java rev. 1.1 (JTS-1.10)
17  *
18  **********************************************************************/
19 
20 #pragma once
21 
22 namespace geos {
23 namespace io {
24 
26 namespace WKBConstants {
27 
28  enum byteOrder {
29  wkbXDR = 0,
30  wkbNDR = 1
31  };
32 
33  enum wkbType {
34  wkbPoint = 1,
35  wkbLineString = 2,
36  wkbPolygon = 3,
37  wkbMultiPoint = 4,
38  wkbMultiLineString = 5,
39  wkbMultiPolygon = 6,
40  wkbGeometryCollection = 7
41  };
42 
43  enum wkbFlavour {
44  wkbExtended = 1,
45  wkbIso = 2
46  };
47 
48 }
49 
50 } // namespace geos::io
51 } // namespace geos
52 
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25