isSameLabel method

bool isSameLabel(
  1. SweepLineEvent ev
)

Implementation

bool isSameLabel(SweepLineEvent ev) {
  // no label set indicates single group
  if (label == null) return false;
  return label == ev.label;
}