| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
package org.locationtech.jts.noding; |
| 14 |
|
| 15 |
import org.locationtech.jts.geom.Coordinate; |
| 16 |
|
| 17 |
/** |
| 18 |
* An interface for classes which support adding nodes to |
| 19 |
* a segment string. |
| 20 |
* |
| 21 |
* @author Martin Davis |
| 22 |
*/ |
| 23 |
public interface NodableSegmentString |
| 24 |
extends SegmentString |
| 25 |
{ |
| 26 |
/** |
| 27 |
* Adds an intersection node for a given point and segment to this segment string. |
| 28 |
* |
| 29 |
* @param intPt the location of the intersection |
| 30 |
* @param segmentIndex the index of the segment containing the intersection |
| 31 |
*/ |
| 32 |
public void addIntersection(Coordinate intPt, int segmentIndex); |
| 33 |
} |
| 34 |
|