RelateNode.h

00001 /**********************************************************************
00002  * $Id: RelateNode.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_RELATENODE_H
00017 #define GEOS_OP_RELATE_RELATENODE_H
00018 
00019 #include <geos/geomgraph/Node.h> // for inheritance
00020 
00021 // Forward declarations
00022 namespace geos {
00023         namespace geom {
00024                 class IntersectionMatrix;
00025                 class Coordinate;
00026         }
00027         namespace geomgraph {
00028                 class EdgeEndStar;
00029         }
00030 }
00031 
00032 
00033 namespace geos {
00034 namespace operation { // geos::operation
00035 namespace relate { // geos::operation::relate
00036 
00041 class RelateNode: public geomgraph::Node {
00042 
00043 public:
00044 
00045         RelateNode(const geom::Coordinate& coord, geomgraph::EdgeEndStar *edges);
00046 
00047         virtual ~RelateNode();
00048 
00049         void updateIMFromEdges(geom::IntersectionMatrix *im);
00050 
00051 protected:
00052 
00053         void computeIM(geom::IntersectionMatrix *im);
00054 };
00055 
00056 
00057 } // namespace geos:operation:relate
00058 } // namespace geos:operation
00059 } // namespace geos
00060 
00061 #endif // GEOS_OP_RELATE_RELATENODE_H
00062 
00063 /**********************************************************************
00064  * $Log$
00065  * Revision 1.1  2006/03/21 13:11:29  strk
00066  * opRelate.h header split
00067  *
00068  **********************************************************************/
00069 

Generated on Fri Mar 27 04:52:59 2009 for GEOS by  doxygen 1.5.4