00001 /********************************************************************** 00002 * $Id: WKBConstants.h 2579 2009-06-15 14:03:52Z strk $ 00003 * 00004 * GEOS - Geometry Engine Open Source 00005 * http://geos.refractions.net 00006 * 00007 * Copyright (C) 2005-2006 Refractions Research Inc. 00008 * Copyright (C) 2001-2002 Vivid Solutions Inc. 00009 * 00010 * This is free software; you can redistribute and/or modify it under 00011 * the terms of the GNU Lesser General Public Licence as published 00012 * by the Free Software Foundation. 00013 * See the COPYING file for more information. 00014 * 00015 ********************************************************************** 00016 * 00017 * Last port: io/WKBConstants.java rev. 1.1 (JTS-1.10) 00018 * 00019 **********************************************************************/ 00020 00021 #ifndef GEOS_IO_WKBCONSTANTS_H 00022 #define GEOS_IO_WKBCONSTANTS_H 00023 00024 namespace geos { 00025 namespace io { 00026 00028 namespace WKBConstants { 00029 00031 const int wkbXDR = 0; 00032 00034 const int wkbNDR = 1; 00035 00036 const int wkbPoint = 1; 00037 const int wkbLineString = 2; 00038 const int wkbPolygon = 3; 00039 const int wkbMultiPoint = 4; 00040 const int wkbMultiLineString = 5; 00041 const int wkbMultiPolygon = 6; 00042 const int wkbGeometryCollection = 7; 00043 } 00044 00045 } // namespace geos::io 00046 } // namespace geos 00047 00048 #endif // #ifndef GEOS_IO_WKBCONSTANTS_H 00049 00050 /********************************************************************** 00051 * $Log$ 00052 * Revision 1.2 2006/05/23 09:24:37 strk 00053 * * source/io/ByteOrderValues.cpp: changed ENDIAN_BIG and ENDIAN_LITTLE values to match WKBConstants::XDR and WKBConstants::NDR respectively. 00054 * * source/headers/geos/io/WKBConstants.h: added comments about meaning of XDR/NDR. 00055 * 00056 * Revision 1.1 2006/03/20 18:18:14 strk 00057 * io.h header split 00058 * 00059 **********************************************************************/