Method ADT.Interval()->touches()

class ADT.Interval

Method touches

bool touches(this_program(< RangeType >) i)

Description

Return true if the selected upper boundary touches the selected lower boundary, including when the intervals overlap. At equal coordinates, at least one of these boundaries must be closed.

See also

overlaps(), lfun::`|()