mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
Bnd_OBB constructor from Bnd_Box is fixed for VOID input. DRAW command bounding command is adjusted: - Support of old syntax 'bounding shape'is restored. - Exception on VOID bounding box is avoided. - Arguments are handled in case-insensitive way. - Options -s, -perfmeter, and ability to set result as first argument are removed as redundant. - Help is moved to command definition. Separate command OCC29311 is added (in QADraw) to do the same as option -perfmeter did; tests are updated.
15 lines
307 B
Plaintext
15 lines
307 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 result -obb
|
|
|