Bnd_Box is just a numbers' placeholder, it cannot calculate anything from an ellipse.
BRepBndLib::Add(), if you're using this particular algorithm, calculates an approximated AABB that fully encloses the given geometry and topology (e.g covers also encoded tolerances), but could be also larger of original shape. This is expected behavior of this algorithm.
Wed, 05/10/2023 - 15:20
Bnd_Box
is just a numbers' placeholder, it cannot calculate anything from an ellipse.BRepBndLib::Add()
, if you're using this particular algorithm, calculates an approximated AABB that fully encloses the given geometry and topology (e.g covers also encoded tolerances), but could be also larger of original shape. This is expected behavior of this algorithm.Thu, 05/11/2023 - 04:22
I will experiment with your suggestion! you help me better understand bnd_ box.
Wed, 05/10/2023 - 22:34
To get the tight bounding box use the method AddOptimal instead of Add.
Thu, 05/11/2023 - 04:17
Thanks for your reply! Mikhail! it work well!