MantisBT - Open CASCADE
View Issue Details
0024866Open CASCADE[OCCT] OCCT:Codingpublic2014-04-23 08:522019-07-10 19:27
[OCCT] 6.7.0 
[OCCT] 7.5.0* 
Not required
0024866: Single definition of axis-aligned bounding box should be used across OCCT
There are too many classes representing exactly the same object - axis aligned bounding box:
- Bnd_Box2d
- Bnd_Box
- Bnd_B2d
- Bnd_B2f
- Bnd_B3d
- Bnd_B3f
- BVH_Box

New template class BVH_Box can be defined for arbitrary number of dimensions (2d,3d,3d+1). However does not provide the same interface as previously existed classes (the most wide-spread used structure is Bnd_Box).

It is intended to unify implementation of these classes through inheritance or complete substitution.
No tags attached.
related to 0024487closed abv Open CASCADE Getting rid of generic CDL classes 
related to 0025164closed bugmaster Open CASCADE BVH_Box::Area() might be called on uninitialized data 
Issue History
2014-04-23 08:52kgvNew Issue
2014-04-23 08:52kgvAssigned To => kgv
2014-04-23 08:53kgvAssigned Tokgv => dbp
2014-04-23 09:17kgvRelationship addedrelated to 0024487
2014-07-10 09:28kgvRelationship addedrelated to 0025066
2014-08-25 11:54kgvRelationship addedrelated to 0025164
2014-09-11 10:49abvTarget Version6.8.0 => 7.1.0
2016-11-01 06:21abvTarget Version7.1.0 => 7.2.0
2017-07-20 11:46kgvAssigned Todbp => kgv
2017-07-20 11:46kgvTarget Version7.2.0 => 7.4.0
2017-08-01 10:55apvTest case number => Not required
2019-07-10 19:27abvTarget Version7.4.0 => 7.5.0*

There are no notes attached to this issue.