GEOS 3.14.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
22namespace geos {
23namespace io {
24
26namespace 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 wkbCircularString = 8,
42 wkbCompoundCurve = 9,
43 wkbCurvePolygon = 10,
44 wkbMultiCurve = 11,
45 wkbMultiSurface = 12,
46 };
47
48 enum wkbFlavour {
49 wkbExtended = 1,
50 wkbIso = 2
51 };
52
53}
54
55} // namespace geos::io
56} // namespace geos
57
Basic namespace for all GEOS functionalities.
Definition geos.h:39