intervals.cpp
109 intervals.append(SimpleInterval::fromString(str.mid(startInterval, (curPos - startInterval + 1)), &conversionOk));
277 } else if ((it1->start >= it2->start) && (it1->start <= it2->end) && (it1->end >= it2->end)) { // Condition d
282 } else if ((it1->start <= it2->start) && (it1->end >= it1->start) && (it1->end <= it2->end)) { // Condition e
294 qFatal("Unexpected condition in %s at line %d (segments intersection). it1->start = %f, it2->start = %f, it1->end = %f, it2->end = %f", __FILE__, __LINE__, it1->start, it2->start, it1->end, it2->end);
422 } else if ((it1->start >= it2->start) && (it1->start < it2->end) && (it1->end > it2->end)) { // Condition d
425 } else if ((it1->start < it2->start) && (it1->end > it1->start) && (it1->end <= it2->end)) { // Condition e
434 } else { // We should never get here (if we get here, try to check whether the equality is checked correctly)
435 qFatal("Unexpected condition in %s at line %d (segments subtraction). it1->start = %f, it2->start = %f, it1->end = %f, it2->end = %f", __FILE__, __LINE__, it1->start, it2->start, it1->end, it2->end);
445 template void Intervals::intersect<QLinkedList<farsa::SimpleInterval>::const_iterator>(QLinkedList<farsa::SimpleInterval>::const_iterator otherBegin, QLinkedList<farsa::SimpleInterval>::const_iterator otherEnd);
446 template void Intervals::intersect<const farsa::SimpleInterval*>(const farsa::SimpleInterval* otherBegin, const farsa::SimpleInterval* otherEnd);
447 template void Intervals::unite<QLinkedList<farsa::SimpleInterval>::const_iterator>(QLinkedList<farsa::SimpleInterval>::const_iterator otherBegin, QLinkedList<farsa::SimpleInterval>::const_iterator otherEnd);
448 template void Intervals::unite<const farsa::SimpleInterval*>(const farsa::SimpleInterval* otherBegin, const farsa::SimpleInterval* otherEnd);
449 template void Intervals::subtract<QLinkedList<farsa::SimpleInterval>::const_iterator>(QLinkedList<farsa::SimpleInterval>::const_iterator otherBegin, QLinkedList<farsa::SimpleInterval>::const_iterator otherEnd);
450 template void Intervals::subtract<const farsa::SimpleInterval*>(const farsa::SimpleInterval* otherBegin, const farsa::SimpleInterval* otherEnd);