# Location.h

    00001 /**********************************************************************
    00002  * $Id: Location.h 1835 2006-09-07 10:30:02Z 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 <iostream> // for ostream
    00020
    00021 #include <geos/inline.h>
    00022
    00023 namespace geos {
    00024 namespace geom { // geos::geom
    00025
    00035 class Location {
    00036 public:
    00037         enum Value {
    00038
    00042                 UNDEF=-1,   // Instead of NULL
    00043
    00049                 INTERIOR = 0,
    00050
    00056                 BOUNDARY = 1,
    00057
    00063                 EXTERIOR = 2
    00064         };
    00065
    00066         static char toLocationSymbol(int locationValue);
    00067 };
    00068
    00069 } // namespace geos::geom
    00070 } // namespace geos
    00071
    00072 //#ifdef GEOS_INLINE
    00073 //# include "geos/geom/Location.inl"
    00074 //#endif
    00075
    00076 #endif // ndef GEOS_GEOM_LOCATION_H
    00077