openfoam/applications/utilities/mesh/manipulation/checkMesh
Mark Olesen 722d23f59c ENH: additional methods/operators for boundBox (related to #196)
- Constructor for bounding box of a single point.

- add(boundBox), add(point) ...
  -> Extend box to enclose the second box or point(s).

  Eg,
      bb.add(pt);
  vs.
      bb.min() = Foam::min(bb.min(), pt);
      bb.max() = Foam::max(bb.max(), pt);

Also works with other bounding boxes.
  Eg,
      bb.add(bb2);
      // OR
      bb += bb2;
  vs.
      bb.min() = Foam::min(bb.min(), bb2.min());
      bb.max() = Foam::max(bb.max(), bb2.max());

'+=' operator allows the reduction to be used in parallel
gather/scatter operations.

A global '+' operator is not currently needed.

Note: may be useful in the future to have a 'clear()' method
that resets to a zero-sized (inverted) box.

STYLE: make many bounding box constructors explicit
2017-01-25 19:26:50 +01:00
..
Make ENH: use meshedSurf API for surface writers (issue #104) 2016-08-10 15:41:24 +02:00
checkGeometry.C ENH: use meshedSurf API for surface writers (issue #104) 2016-08-10 15:41:24 +02:00
checkGeometry.H checkMesh: Added option to write sets 2016-07-22 16:53:49 +01:00
checkMesh.C GIT: Initial state after latest Foundation merge 2016-09-20 14:49:08 +01:00
checkMeshQuality.C checkMesh: Added writing of faceSets and cellSets containing errors 2016-06-12 20:51:07 +01:00
checkMeshQuality.H checkMesh: Added writing of faceSets and cellSets containing errors 2016-06-12 20:51:07 +01:00
checkTools.C ENH: use meshedSurf API for surface writers (issue #104) 2016-08-10 15:41:24 +02:00
checkTools.H checkMesh: Added option to write sets 2016-07-22 16:53:49 +01:00
checkTopology.C ENH: additional methods/operators for boundBox (related to #196) 2017-01-25 19:26:50 +01:00
checkTopology.H checkMesh: Added option to write sets 2016-07-22 16:53:49 +01:00