addIntersection method

void addIntersection(
  1. Coordinate intPt,
  2. int segmentIndex
)
override

Adds an intersection node for a given point and segment to this segment string.

@param intPt the location of the intersection @param segmentIndex the index of the segment containing the intersection

Implementation

void addIntersection(Coordinate intPt, int segmentIndex) {
  addIntersectionNode(intPt, segmentIndex);
}