insertBeforePredicate method

bool? insertBeforePredicate(
  1. EventNode? here,
  2. EventNode? ev,
  3. Coordinate? other_pt
)

Implementation

bool insertBeforePredicate(
    EventNode here, EventNode ev, JTS.Coordinate other_pt) {
  // should ev be inserted before here?
  var comp = eventCompare(
      ev.isStart, ev.pt, other_pt, here.isStart, here.pt, here.other.pt);

  return comp < 0;
}