DYT/Tool/OpenSceneGraph-3.6.5/include/geos/io/WKBConstants.h
2024-12-25 07:49:36 +08:00

58 lines
1.3 KiB
C++

/**********************************************************************
*
* GEOS - Geometry Engine Open Source
* http://geos.osgeo.org
*
* Copyright (C) 2005-2006 Refractions Research Inc.
* Copyright (C) 2001-2002 Vivid Solutions Inc.
*
* This is free software; you can redistribute and/or modify it under
* the terms of the GNU Lesser General Public Licence as published
* by the Free Software Foundation.
* See the COPYING file for more information.
*
**********************************************************************
*
* Last port: io/WKBConstants.java rev. 1.1 (JTS-1.10)
*
**********************************************************************/
#pragma once
namespace geos {
namespace io {
/// Constant values used by the WKB format
namespace WKBConstants {
enum byteOrder {
wkbXDR = 0,
wkbNDR = 1
};
enum wkbType {
wkbPoint = 1,
wkbLineString = 2,
wkbPolygon = 3,
wkbMultiPoint = 4,
wkbMultiLineString = 5,
wkbMultiPolygon = 6,
wkbGeometryCollection = 7,
wkbCircularString = 8,
wkbCompoundCurve = 9,
wkbCurvePolygon = 10,
wkbMultiCurve = 11,
wkbMultiSurface = 12,
};
enum wkbFlavour {
wkbExtended = 1,
wkbIso = 2
};
}
} // namespace geos::io
} // namespace geos