IITree.findOverlapsWith

Locate and return intervals overlapping parameter qinterval in contig

qinterval must have members "start" and "end" (just like IntervalType stored in the tree, but the types needn't be the same).

Note that because the cgranges IITree stores contig this must be included, unlike the other interval tree implementations.

findOverlapsWith may also be called with \0-terminated contig, integer start, end

  1. auto findOverlapsWith(const(char)[] contig, T qinterval)
    struct IITree(IntervalType)
    findOverlapsWith
    (
    T
    )
    (
    const(char)[] contig
    ,)
    if (
    __traits(hasMember, T, "start") &&
    __traits(hasMember, T, "end")
    )
    if (
    __traits(hasMember, IntervalType, "start") &&
    __traits(hasMember, IntervalType, "end")
    )
  2. const(cr_intv_t)[] findOverlapsWith(const(char)* contig, T start, T end)

Meta