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
29 namespace noding
{ // geos::noding
32 * An interface for classes which support adding nodes to
35 * @author Martin Davis
37 class GEOS_DLL NodableSegmentString
: public SegmentString
42 NodableSegmentString(const void* newContext
)
44 SegmentString( newContext
)
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
59 #endif // GEOS_NODING_NODABLESEGMENTSTRING_H
60 /**********************************************************************
62 **********************************************************************/