DiscussionsIssue archiveOCCT:Foundation Classes

Archived issue #0031186

Foundation Classes - add additional useful methods to BVH_Box

Open CASCADEOCCT:Foundation Classesclosed12 public notes

Search issues

Description

Add methods to:
+ Transform BVH_Box by matrix,
+ Project point to box,
+ Find hit time of ray-box intersection,
- Find distance from point to box => use BVH_Tools::PointBoxSquareDistance()

Steps to reproduce

Not required

Public activity

12 archived notes

Participants are labeled by their role within this record.

01Commenter 1
The methods for Point-Box and Box-Box square distance are available in BVH_Tools class.
02Commenter 3
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Fri Nov 22 16:02:02 2019 +0300

    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 BVH_Tools to project point to box.
03Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
04Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
05Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
06Commenter 6
07Commenter 7
The patch is ready to review
08Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
09Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
10Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
11Commenter 1
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 16796.860000000055 / 16848.370000000145 [-0.31%]
Products
Total CPU difference: 10878.57000000006 / 10787.150000000072 [+0.85%]
Windows-64-VC14:
OCCT
Total CPU difference: 18298.9375 / 18305.59375 [-0.04%]
Products
Total CPU difference: 10772.90625 / 12768.0625 [-15.63%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
12Commenter 3
Branch [archived branch] has been deleted by Participant.

[revision removed]

Related records