GEOS: EdgeSetIntersector.h Source File

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

- File List

# EdgeSetIntersector.h

    00001 /**********************************************************************
    00002  * $Id: EdgeSetIntersector.h 2556 2009-06-06 22:22:28Z strk $
    00003  *
    00004  * GEOS - Geometry Engine Open Source
    00005  * http://geos.refractions.net
    00006  *
    00007  * Copyright (C) 2005-2006 Refractions Research Inc.
    00008  * Copyright (C) 2001-2002 Vivid Solutions Inc.
    00009  *
    00010  * This is free software; you can redistribute and/or modify it under
    00011  * the terms of the GNU Lesser General Public Licence as published
    00012  * by the Free Software Foundation.
    00013  * See the COPYING file for more information.
    00014  *
    00015  **********************************************************************/
    00016
    00017 #ifndef GEOS_GEOMGRAPH_INDEX_EDGESETINTERSECTOR_H
    00018 #define GEOS_GEOMGRAPH_INDEX_EDGESETINTERSECTOR_H
    00019
    00020 #include <geos/export.h>
    00021 #include <vector>
    00022
    00023 // Forward declarations
    00024 namespace geos {
    00025         namespace geomgraph {
    00026                 class Edge;
    00027                 namespace index {
    00028                         class SegmentIntersector;
    00029                 }
    00030         }
    00031 }
    00032
    00033 namespace geos {
    00034 namespace geomgraph { // geos::geomgraph
    00035 namespace index { // geos::geomgraph::index
    00036
    00037 /*
    00038  * This is derived from a Java interface.
    00039  */
    00040 class GEOS_DLL EdgeSetIntersector {
    00041 public:
    00050         virtual void computeIntersections(std::vector<Edge*> *edges,
    00051                         SegmentIntersector *si, bool testAllSegments)=0;
    00052
    00056         virtual void computeIntersections(std::vector<Edge*> *edges0,
    00057                         std::vector<Edge*> *edges1,
    00058                         SegmentIntersector *si)=0;
    00059
    00060         virtual ~EdgeSetIntersector(){};
    00061 };
    00062
    00063
    00064 } // namespace geos.geomgraph.index
    00065 } // namespace geos.geomgraph
    00066 } // namespace geos
    00067
    00068 #endif
    00069
    00070 /**********************************************************************
    00071  * $Log$
    00072  * Revision 1.1  2006/03/14 12:55:55  strk
    00073  * Headers split: geomgraphindex.h, nodingSnapround.h
    00074  *
    00075  **********************************************************************/
    00076