SegmentSetMutualIntersector.h
/**********************************************************************
*
* GEOS - Geometry Engine Open Source
* http://geos.osgeo.org
*
* Copyright (C) 2006 Refractions Research Inc.
*
* This is free software; you can redistribute and/or modify it under
* the terms of the GNU Lesser General Public Licence as published
* by the Free Software Foundation.
* See the COPYING file for more information.
*
*
**********************************************************************/
#pragma once
#include <geos/noding/SegmentString.h>
#include <geos/noding/SegmentIntersector.h>
namespace geos {
namespace noding { // geos::noding
class GEOS_DLL SegmentSetMutualIntersector {
public:
SegmentSetMutualIntersector()
: segInt(nullptr)
{}
virtual
~SegmentSetMutualIntersector() {}
void
setSegmentIntersector(SegmentIntersector* si)
{
segInt = si;
}
virtual void setBaseSegments(SegmentString::ConstVect* segStrings) = 0;
virtual void process(SegmentString::ConstVect* segStrings) = 0;
protected:
SegmentIntersector* segInt;
};
} // geos::noding
} // geos
geos::noding::SegmentIntersector
Processes possible intersections detected by a Noder.
Definition noding/SegmentIntersector.h:45
geos::noding::SegmentSetMutualIntersector::process
virtual void process(SegmentString::ConstVect *segStrings)=0
geos::noding::SegmentSetMutualIntersector::setSegmentIntersector
void setSegmentIntersector(SegmentIntersector *si)
Definition SegmentSetMutualIntersector.h:54
geos::noding::SegmentSetMutualIntersector::setBaseSegments
virtual void setBaseSegments(SegmentString::ConstVect *segStrings)=0
geos::noding
Classes to compute nodings for arrangements of line segments and line segment sequences.
Definition CoverageCleaner.h:42
geos
Basic namespace for all GEOS functionalities.
Definition geos.h:38