GEOS: RelateNodeFactory.h Source File

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

- File List

# RelateNodeFactory.h

    00001 /**********************************************************************
    00002  * $Id: RelateNodeFactory.h 2557 2009-06-08 09:30:55Z 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  * Last port: operation/relate/RelateNodeFactory.java rev. 1.11 (JTS-1.10)
    00017  *
    00018  **********************************************************************/
    00019
    00020 #ifndef GEOS_OP_RELATE_RELATENODEFACTORY_H
    00021 #define GEOS_OP_RELATE_RELATENODEFACTORY_H
    00022
    00023 #include <geos/export.h>
    00024
    00025 #include <geos/geomgraph/NodeFactory.h> // for RelateNodeFactory inheritance
    00026
    00027 // Forward declarations
    00028 namespace geos {
    00029         namespace geom {
    00030                 class Coordinate;
    00031         }
    00032         namespace geomgraph {
    00033                 class Node;
    00034         }
    00035 }
    00036
    00037
    00038 namespace geos {
    00039 namespace operation { // geos::operation
    00040 namespace relate { // geos::operation::relate
    00041
    00045 class GEOS_DLL RelateNodeFactory: public geomgraph::NodeFactory {
    00046 public:
    00047         geomgraph::Node* createNode(const geom::Coordinate &coord) const;
    00048         static const geomgraph::NodeFactory &instance();
    00049 private:
    00050         RelateNodeFactory() {};
    00051 };
    00052
    00053
    00054 } // namespace geos:operation:relate
    00055 } // namespace geos:operation
    00056 } // namespace geos
    00057
    00058 #endif // GEOS_OP_RELATE_RELATENODEFACTORY_H
    00059
    00060 /**********************************************************************
    00061  * $Log$
    00062  * Revision 1.1  2006/03/21 13:11:29  strk
    00063  * opRelate.h header split
    00064  *
    00065  **********************************************************************/
    00066