Template Function gpa::playback::detail::Overlap

Function Documentation

template<typename EndPointType>
bool gpa::playback::detail::Overlap(Interval<EndPointType> const &lhs, Interval<EndPointType> const &rhs)

Gets a value indicating whether or not two Intervals<> overlap.

Parameters
  • <EndPointType> -- The type of the Interval<> end points

  • lhs -- [in] The left hand side Interval<> to compare

  • rhs -- [in] The right hand side Interval<> to compare

Returns

Whether or not the given Interval<>s overlap