Skip to content
Snippets Groups Projects
  1. Nov 08, 2022
  2. Nov 07, 2022
  3. Nov 03, 2022
  4. Nov 01, 2022
  5. Oct 31, 2022
    • Mark OLESEN's avatar
      ENH: expose IntRange {begin,end}_value() methods · 2202995f
      Mark OLESEN authored
      - end_value() corresponds to the infrequently used after() method, but
        with naming that corresponds better to iterator naming conventions.
      
        Eg,
      
           List<Type> list = ...;
           labelRange range = ...;
      
           std::transform
           (
               (list.data() + range.begin_value()),
               (list.data() + range.end_value()),
      
               outIter,
               op
           );
      
      - promote min()/max() methods from labelRange to IntRange base class
      
      STYLE: change timeSelector from "is-a" to "has-a" scalarRanges.
      2202995f
    • Mark OLESEN's avatar
      ENH: single/double value reset method for MinMax · 21f037e3
      Mark OLESEN authored
      - resets min/max to be identical to the specified value,
        which can be more convenient (and slightly more efficient) than doing
        a full reset followed by add()
      
      - additional MinMax intersects() query, which works like overlaps()
        but with exclusive checks at the ends
      
      - provide MinMax::operator&=() to replace (unused) intersect() method
      
      ENH: single/double value reset method for boundBox
      
      - boundBox::operator&=() to replace (rarely used) intersect() method.
        Deprecate boundBox::intersect() to avoid confusion with various
        intersects() method
      
      COMP: provide triangleFwd.H
      21f037e3