Skip to content
  • Mark Olesen's avatar
    17d76e62
    ENH: boundBox 'reduce' method (related to #196) · 17d76e62
    Mark Olesen authored
    reduce()
    - parallel reduction of min/max values.
      Reduces coding for the callers.
    
      Eg,
          bb.reduce();
    
      instead of the previous method:
          reduce(bb.min(), minOp<point>());
          reduce(bb.max(), maxOp<point>());
    
    STYLE:
    
    - use initializer list for creating static content
    - use point::min/point::max when defining standard boxes
    17d76e62
    ENH: boundBox 'reduce' method (related to #196)
    Mark Olesen authored
    reduce()
    - parallel reduction of min/max values.
      Reduces coding for the callers.
    
      Eg,
          bb.reduce();
    
      instead of the previous method:
          reduce(bb.min(), minOp<point>());
          reduce(bb.max(), maxOp<point>());
    
    STYLE:
    
    - use initializer list for creating static content
    - use point::min/point::max when defining standard boxes
Loading