Noder.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/export.h>
#include <vector>
#include <iostream>
// Forward declarations
namespace geos {
namespace noding {
class SegmentString;
}
}
namespace geos {
namespace noding { // geos.noding
class GEOS_DLL Noder {
public:
virtual void computeNodes(std::vector<SegmentString*>* segStrings) = 0;
virtual std::vector<SegmentString*>* getNodedSubstrings() const = 0;
virtual
~Noder() {}
protected:
Noder() {}
};
} // namespace geos.noding
} // namespace geos
geos::noding::Noder
Computes all intersections between segments in a set of SegmentString.
Definition Noder.h:46
geos::noding::Noder::computeNodes
virtual void computeNodes(std::vector< SegmentString * > *segStrings)=0
Computes the noding for a collection of SegmentStrings.
geos::noding::Noder::getNodedSubstrings
virtual std::vector< SegmentString * > * getNodedSubstrings() const =0
Returns a collection of fully noded SegmentStrings. The SegmentStrings have the same context as their...
geos::noding::SegmentString
An interface for classes which represent a sequence of contiguous line segments.
Definition SegmentString.h:47
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