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

MinimalEdgeRing.h

00001 /**********************************************************************
00002  * $Id: MinimalEdgeRing.h 2564 2009-06-08 16:09:51Z 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/overlay/MinimalEdgeRing.java rev. 1.13 (JTS-1.10)
00017  *
00018  **********************************************************************/
00019 
00020 #ifndef GEOS_OP_OVERLAY_MINIMALEDGERING_H
00021 #define GEOS_OP_OVERLAY_MINIMALEDGERING_H
00022 
00023 #include <geos/export.h>
00024 
00025 #include <geos/geomgraph/EdgeRing.h> // for inheritance
00026 #include <geos/geomgraph/DirectedEdge.h> // for inlines
00027 
00028 #include <vector>
00029 
00030 #include <geos/inline.h>
00031 
00032 // Forward declarations
00033 namespace geos {
00034         namespace geom {
00035                 class GeometryFactory;
00036         }
00037         namespace geomgraph {
00038                 class DirectedEdge;
00039                 class EdgeRing;
00040         }
00041 }
00042 
00043 namespace geos {
00044 namespace operation { // geos::operation
00045 namespace overlay { // geos::operation::overlay
00046 
00057 class GEOS_DLL MinimalEdgeRing: public geomgraph::EdgeRing {
00058 
00059 public:
00060 
00061         // CGAlgorithms argument obsoleted
00062         MinimalEdgeRing(geomgraph::DirectedEdge *start,
00063                 const geom::GeometryFactory *geometryFactory);
00064 
00065         virtual ~MinimalEdgeRing();
00066 
00067         geomgraph::DirectedEdge* getNext(geomgraph::DirectedEdge *de);
00068 
00069         void setEdgeRing(geomgraph::DirectedEdge *de,
00070                         geomgraph::EdgeRing *er);
00071 };
00072 
00073 
00074 } // namespace geos::operation::overlay
00075 } // namespace geos::operation
00076 } // namespace geos
00077 
00078 #ifdef GEOS_INLINE
00079 #include <geos/operation/overlay/MinimalEdgeRing.inl>
00080 #endif
00081 
00082 #endif // ndef GEOS_OP_OVERLAY_MINIMALEDGERING_H
00083 
00084 /**********************************************************************
00085  * $Log$
00086  * Revision 1.2  2006/03/27 16:02:34  strk
00087  * Added INL file for MinimalEdgeRing, added many debugging blocks,
00088  * fixed memory leak in ConnectedInteriorTester (bug #59)
00089  *
00090  * Revision 1.1  2006/03/17 13:24:59  strk
00091  * opOverlay.h header splitted. Reduced header inclusions in operation/overlay implementation files. ElevationMatrixFilter code moved from own file to ElevationMatrix.cpp (ideally a class-private).
00092  *
00093  **********************************************************************/
00094 

Generated on Thu Jul 22 2010 for GEOS by  doxygen 1.7.1