• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List

Location.h

00001 /**********************************************************************
00002  * $Id: Location.h 2556 2009-06-06 22:22:28Z strk $
00003  *
00004  * GEOS - Geometry Engine Open Source
00005  * http://geos.refractions.net
00006  *
00007  * Copyright (C) 2006 Refractions Research Inc.
00008  *
00009  * This is free software; you can redistribute and/or modify it under
00010  * the terms of the GNU Lesser General Public Licence as published
00011  * by the Free Software Foundation. 
00012  * See the COPYING file for more information.
00013  *
00014  **********************************************************************/
00015 
00016 #ifndef GEOS_GEOM_LOCATION_H
00017 #define GEOS_GEOM_LOCATION_H
00018 
00019 #include <geos/export.h>
00020 #include <iostream> // for ostream
00021 
00022 #include <geos/inline.h>
00023 
00024 namespace geos {
00025 namespace geom { // geos::geom
00026 
00036 class GEOS_DLL Location {
00037 public:
00038         enum Value {
00039 
00043                 UNDEF=-1,   // Instead of NULL
00044 
00050                 INTERIOR = 0,
00051 
00057                 BOUNDARY = 1,
00058 
00064                 EXTERIOR = 2
00065         };
00066 
00067         static char toLocationSymbol(int locationValue);
00068 };
00069 
00070 } // namespace geos::geom
00071 } // namespace geos
00072 
00073 //#ifdef GEOS_INLINE
00074 //# include "geos/geom/Location.inl"
00075 //#endif
00076 
00077 #endif // ndef GEOS_GEOM_LOCATION_H
00078 

Generated on Thu Jul 22 2010 for GEOS by  doxygen 1.7.1