bool Record::intersects(const Record *record, bool wantSameStrand, bool wantDiffStrand, float overlapFraction, bool reciprocal) const { //must be on same chromosome if (!sameChrom(record)) { return false; } return sameChromIntersects(record, wantSameStrand, wantDiffStrand, overlapFraction, reciprocal); }
bool Record::intersects(const Record *record, bool sameStrand, bool diffStrand, float overlapFractionA, float overlapFractionB, bool reciprocalFraction, bool eitherFraction) const { //must be on same chromosome if (!sameChrom(record)) { return false; } return sameChromIntersects(record, sameStrand, diffStrand, overlapFractionA, overlapFractionB, reciprocalFraction, eitherFraction); }