Complete Note#1 in the http://wiki.osgeo.org/wiki/GEOS_Provenance_Review to get out...
[geos.git] / include / geos / noding / NodableSegmentString.h
blob2e07e3c357f6888958ea406845afafff1fa9695e
1 /**********************************************************************
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
6 * Copyright (C) 2006 Refractions Research Inc.
8 * This is free software; you can redistribute and/or modify it under
9 * the terms of the GNU Lesser General Public Licence as published
10 * by the Free Software Foundation.
11 * See the COPYING file for more information.
14 **********************************************************************/
16 #ifndef GEOS_NODING_NODABLESEGMENTSTRING_H
17 #define GEOS_NODING_NODABLESEGMENTSTRING_H
19 #include <geos/export.h>
20 #include <geos/noding/SegmentString.h> // for inheritance
22 namespace geos {
23 namespace geom {
24 class Coordinate;
28 namespace geos {
29 namespace noding { // geos::noding
31 /** \brief
32 * An interface for classes which support adding nodes to
33 * a segment string.
35 * @author Martin Davis
37 class GEOS_DLL NodableSegmentString : public SegmentString
39 private:
40 protected:
41 public:
42 NodableSegmentString(const void* newContext)
44 SegmentString( newContext )
45 { }
47 /**
48 * Adds an intersection node for a given point and segment to this segment string.
50 * @param intPt the location of the intersection
51 * @param segmentIndex the index of the segment containing the intersection
53 //virtual void addIntersection( const geom::Coordinate * intPt, int segmentIndex) =0;
56 } // namespace geos::noding
57 } // namespace geos
59 #endif // GEOS_NODING_NODABLESEGMENTSTRING_H
60 /**********************************************************************
61 * $Log$
62 **********************************************************************/