Skip to content
Snippets Groups Projects
Commit 17d76e62 authored by Mark Olesen's avatar Mark Olesen
Browse files

ENH: boundBox 'reduce' method (related to #196)

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
parent ec94c078
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment