- Main Page
- Namespaces
- Classes
- Files
- Related Pages

# SimplePointInRing.h

    00001 /**********************************************************************
    00002  * $Id: SimplePointInRing.h 1820 2006-09-06 16:54:23Z mloskot $
    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 #ifndef GEOS_ALGORITHM_SIMPLEPOINTINRING_H
    00018 #define GEOS_ALGORITHM_SIMPLEPOINTINRING_H
    00019
    00020 #include <geos/algorithm/PointInRing.h> // for inheritance
    00021
    00022 // Forward declarations
    00023 namespace geos {
    00024         namespace geom {
    00025                 class Coordinate;
    00026                 class LinearRing;
    00027                 class CoordinateSequence;
    00028         }
    00029 }
    00030
    00031 namespace geos {
    00032 namespace algorithm { // geos::algorithm
    00033
    00034 class SimplePointInRing: public PointInRing {
    00035 public:
    00036         SimplePointInRing(geom::LinearRing *ring);
    00037         virtual ~SimplePointInRing();
    00038         bool isInside(const geom::Coordinate& pt);
    00039 private:
    00040         const geom::CoordinateSequence* pts;
    00041 };
    00042
    00043 } // namespace geos::algorithm
    00044 } // namespace geos
    00045
    00046
    00047 #endif // GEOS_ALGORITHM_SIMPLEPOINTINRING_H
    00048
    00049 /**********************************************************************
    00050  * $Log$
    00051  * Revision 1.1  2006/03/09 16:46:48  strk
    00052  * geos::geom namespace definition, first pass at headers split
    00053  *
    00054  **********************************************************************/
    00055