1. 18 May, 2020 1 commit
  2. 31 Oct, 2019 1 commit
  3. 06 Feb, 2019 1 commit
  4. 03 Aug, 2018 1 commit
    • Mark Olesen's avatar
      ENH: additional methods and improvements to plane · de2eed3e
      Mark Olesen authored
      - signedDistance() method is like distance() but retains
        the positive/negative sign for the side of the plane.
      
      - the sign() method returns the sign as -1,0,+1 integer for
        classification purposes where it is important to distinguish between
        a zero value and a positive value (eg, for cutting). Optional
        tolerance can be supplied to round for zero.
      
      - refactor and inlined simple and frequently used methods.
      
      - add boundBox faceCentre() method, which can be useful for creating
        clipping planes from a bounding box.
        Relocated treeBoundBox faceNormals to boundBox since they apply
        equally there - the meaning of the faces (x-min, x-max, etc)
        is the same, even if the point addressing for the faces differs.
      de2eed3e
  5. 20 Jun, 2018 1 commit
  6. 18 Nov, 2017 1 commit
    • Mark Olesen's avatar
      ENH: enumerations for known cell models in cellModel, ptr/ref lookups · 8730a762
      Mark Olesen authored
      - this provides a better typesafe means of locating predefined cell
        models than relying on strings. The lookup is now ptr() or ref()
        directly. The lookup functions behave like on-demand singletons when
        loading "etc/cellModels".
      
        Functionality is now located entirely in cellModel but a forwarding
        version of cellModeller is provided for API (but not ABI) compatibility
        with older existing user code.
      
      STYLE: use constexpr for cellMatcher constants
      8730a762
  7. 26 May, 2017 1 commit
  8. 05 Sep, 2017 1 commit
  9. 06 Jun, 2017 1 commit
  10. 22 May, 2017 1 commit
  11. 28 Apr, 2017 1 commit
  12. 25 Jan, 2017 1 commit
    • Mark Olesen's avatar
      ENH: additional methods/operators for boundBox (related to #196) · 722d23f5
      Mark Olesen authored
      - 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
      722d23f5
  13. 30 Sep, 2016 1 commit
  14. 25 Apr, 2016 1 commit
  15. 17 Apr, 2016 1 commit
  16. 15 Apr, 2016 1 commit
  17. 29 Feb, 2016 2 commits
  18. 08 Nov, 2015 1 commit
  19. 14 Jun, 2013 1 commit
  20. 13 Mar, 2013 1 commit
  21. 20 Apr, 2012 1 commit
  22. 05 Apr, 2012 1 commit
  23. 04 Apr, 2012 1 commit
  24. 16 Mar, 2012 1 commit
  25. 23 Feb, 2012 1 commit
  26. 16 Jan, 2012 2 commits
  27. 14 Aug, 2011 1 commit
  28. 28 Mar, 2011 1 commit
  29. 14 Mar, 2011 1 commit
  30. 24 Feb, 2011 3 commits
  31. 19 Jan, 2011 1 commit
  32. 14 Jan, 2011 1 commit
  33. 07 Jan, 2011 1 commit
  34. 05 Jan, 2011 2 commits
  35. 22 Dec, 2010 1 commit