]> OCCT Git - occt-copy.git/commit
0031186: Foundation Classes - add additional useful methods to BVH_Box.
authorosa <osa@opencascade.com>
Fri, 22 Nov 2019 13:02:02 +0000 (16:02 +0300)
committerosa <osa@opencascade.com>
Tue, 26 Nov 2019 15:03:47 +0000 (18:03 +0300)
commit56609574c654b15a972268516e27130830331ad8
tree1cc1dcdefedb15ea2b903b4c2a3683cc349c4520
parent0154021f86bef3211c650f8a59399fc01400a743
0031186: Foundation Classes - add additional useful methods to BVH_Box.

Add Transform() and Transformed() methods by Mat4 for BVH_Box (only for 3D dimension).
Add PointBoxProjection() method to project point to box and RayBoxIntersection() method to compute hit time of ray-box intersection to BVH_Tools.
Add BVH_Ray class to define ray object.
src/BVH/BVH_Box.hxx
src/BVH/BVH_Ray.hxx [new file with mode: 0644]
src/BVH/BVH_Tools.hxx
src/BVH/FILES