mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
gp_Trsf::SetRotationPart() - added method replacing rotation matrix without reseting other components, similar to existing SetTraslationPart() and SetScaleFactor(). Transformation multiplication order has been fixed for vlocation arguments -rotate, -translate, -mirror and -scale. Added -prerotate, -pretranslate, -premirror and -prescale options following previous behavior. vlocation -setRotation now uses new method gp_Trsf::SetRotationPart() for consistency with methods -setLocation and -setScale.
18 lines
365 B
Plaintext
18 lines
365 B
Plaintext
puts "============"
|
|
puts "0029823: Visualization, TKOpenGl - highlighting by Bounding Box mistreats Local Transformation"
|
|
puts "============"
|
|
puts ""
|
|
|
|
pload MODELING VISUALIZATION
|
|
vclear
|
|
vinit View1
|
|
vaxo
|
|
psphere s0 1
|
|
psphere s1 1
|
|
vdisplay -dispMode 1 s0 s1
|
|
vlocation s1 -reset -rotate 0 0 0 1 0 0 20 -translate 2 1 0
|
|
vfit
|
|
vbounding
|
|
|
|
vdump $imagedir/${casename}.png
|