# RelateNodeFactory.h

    00001 /**********************************************************************
    00002  * $Id: RelateNodeFactory.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) 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_OP_RELATE_RELATENODEFACTORY_H
    00017 #define GEOS_OP_RELATE_RELATENODEFACTORY_H
    00018
    00019 #include <geos/geomgraph/NodeFactory.h> // for RelateNodeFactory inheritance
    00020
    00021 // Forward declarations
    00022 namespace geos {
    00023         namespace geom {
    00024                 class Coordinate;
    00025         }
    00026         namespace geomgraph {
    00027                 class Node;
    00028         }
    00029 }
    00030
    00031
    00032 namespace geos {
    00033 namespace operation { // geos::operation
    00034 namespace relate { // geos::operation::relate
    00035
    00039 class RelateNodeFactory: public geomgraph::NodeFactory {
    00040 public:
    00041         geomgraph::Node* createNode(const geom::Coordinate &coord) const;
    00042         static const geomgraph::NodeFactory &instance();
    00043 private:
    00044         RelateNodeFactory() {};
    00045 };
    00046
    00047
    00048 } // namespace geos:operation:relate
    00049 } // namespace geos:operation
    00050 } // namespace geos
    00051
    00052 #endif // GEOS_OP_RELATE_RELATENODEFACTORY_H
    00053
    00054 /**********************************************************************
    00055  * $Log$
    00056  * Revision 1.1  2006/03/21 13:11:29  strk
    00057  * opRelate.h header split
    00058  *
    00059  **********************************************************************/
    00060