• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List

RelateNode.h

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

Generated on Thu Jul 22 2010 for GEOS by  doxygen 1.7.1