mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
1. The class Bnd_OBB has been created to describe the Oriented Bounding Box. 2. Several key methods have been implemented: Bnd_OBB::IsOut(...), Bnd_OBB::Add(...) and Bnd_OBB::Enlarge(...). 3. Interface of Bnd_Box class has changed. New methods have been created. See Bnd_Box.hxx for detailed information. 4. BRepBndLib and Draw_Box classes have been amended in order to provide correct work with Bnd_OBB class. 5. Interface of "bounding" DRAW-command has been changed. Please see help for detailed information. 6. New DRAW-command "isbbinterf" has been created. Please see help for detailed information. 7. "boundingstr" and "optbounding" DRAW-commands have been eliminated because their function can be made by "bounding" DRAW-command (e.g. see tests/bugs/vis/buc60857 or samples/tcl/snowflake.tcl test cases). 8. Documentation has been updated.
15 lines
310 B
Plaintext
15 lines
310 B
Plaintext
puts "========"
|
|
puts "OCC29311"
|
|
puts "========"
|
|
puts ""
|
|
#################################################
|
|
# Implementation of the Oriented Bounding Boxes (OBB) functionality
|
|
#################################################
|
|
|
|
line ll -5 3 8 -1 0 0
|
|
trim ll ll -100 100
|
|
mkedge result ll
|
|
|
|
bounding -s result -obb
|
|
|