DiscussionsIssue archiveOCCT:Visualization

Archived issue #0032078

Visualization, Poly_Triangulation - add cached bounding box

Open CASCADEOCCT:Visualizationclosed9 public notes

Search issues

Description

Cached bounding box in Poly_Triangulation can be useful in case of empty triangulation. It doesn't take to account internal triangulation vertices and can be set only using SetCachedMinMax() method from application site.
Update some algorithms to take this cached box if triangulation is empty (like BRepBndLib::Add*).
Update Gltf and Jt readers by caching bounding box from file.

Steps to reproduce

Not required

Public activity

9 archived notes

Participants are labeled by their role within this record.

01Commenter 1
02Commenter 2
Patches are ready for review
- OCCT: branch CR32078,
- OCCT Products: branch CR32078,
- CAD Assistant: branch CR32078
03Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
04Commenter 4
http://vm-jenkins-test-12.nnov.opencascade.com:8080/view/CR32078_1-CR32078_1-OSA/view/ALL/

Patches are ready for review
- OCCT: branch CR32078_1,
- OCCT Products: branch CR32078_1,
- CAD Assistant: branch CR32078_1
05Commenter 3
Please raise the patch.
06Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
07Commenter 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: 17780.76000000008 / 17796.17000000006 [-0.09%]
Products
Total CPU difference: 11509.04000000011 / 12430.450000000123 [-7.41%]
Windows-64-VC14:
OCCT
Total CPU difference: 19390.859375 / 19444.171875 [-0.27%]
Products
Total CPU difference: 12815.171875 / 13824.375 [-7.30%]


Image differences :
No differences that require special attention

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

[revision removed]
09Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]

Related records