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

FastSegmentSetIntersectionFinder.h

00001 /**********************************************************************
00002  *
00003  * GEOS - Geometry Engine Open Source
00004  * http://geos.refractions.net
00005  *
00006  * Copyright (C) 2006 Refractions Research Inc.
00007  *
00008  * This is free software; you can redistribute and/or modify it under
00009  * the terms of the GNU Lesser General Public Licence as published
00010  * by the Free Software Foundation. 
00011  * See the COPYING file for more information.
00012  *
00013  *
00014  **********************************************************************
00015  *
00016  * Last port: noding/FastSegmentSetIntersectionFinder.java r388 (JTS-1.12)
00017  *
00018  **********************************************************************/
00019 
00020 #ifndef GEOS_NODING_FASTSEGMENTSETINTERSECTIONFINDER_H
00021 #define GEOS_NODING_FASTSEGMENTSETINTERSECTIONFINDER_H
00022 
00023 #include <geos/noding/SegmentString.h>
00024 #include <geos/noding/MCIndexSegmentSetMutualIntersector.h>
00025 
00026 
00027 //forward declarations
00028 namespace geos {
00029         namespace noding { 
00030                 class SegmentIntersectionDetector;
00031                 class SegmentSetMutualIntersector;
00032                 //class MCIndexSegmentSetMutualIntersector : public SegmentSetMutualIntersector;
00033         }
00034 }
00035 
00036 
00037 namespace geos {
00038 namespace noding { // geos::noding
00039 
00049 class FastSegmentSetIntersectionFinder
00050 {
00051 private:
00052         MCIndexSegmentSetMutualIntersector * segSetMutInt; 
00053         geos::algorithm::LineIntersector * lineIntersector;
00054 
00055 protected:
00056 public:
00057         FastSegmentSetIntersectionFinder( SegmentString::ConstVect * baseSegStrings);
00058 
00059         ~FastSegmentSetIntersectionFinder();
00060         
00067         SegmentSetMutualIntersector * getSegmentSetIntersector()
00068         {
00069                 return segSetMutInt;
00070         }
00071 
00072         bool intersects( SegmentString::ConstVect * segStrings);
00073         bool intersects( SegmentString::ConstVect * segStrings, SegmentIntersectionDetector * intDetector);
00074 
00075 };
00076 
00077 } // geos::noding
00078 } // geos
00079 
00080 #endif // GEOS_NODING_FASTSEGMENTSETINTERSECTIONFINDER_H
00081 

Generated on Thu Aug 2 2012 15:56:04 for GEOS by  doxygen 1.7.2