Archived issue #0024151
Wrong normalize of vector in gp_Dir constructor
Description
gp_Dir constructor makes vector with coordinates {-3.12793537185052e-008, 0, -1}. However, this vector must be normalized (with {0, 0, -1} coordinates).
Output fragment of "dump" operation:
-------
Dump of 1 surfaces
-------
1 : Plane
Origin :-71.9557571411133, -65, 40.590404510498
Axis :-3.12793537185052e-008, 0, -1
XAxis :1, 0, -3.12793537185052e-008
YAxis :0, -1, -0
Output fragment of "dump" operation:
-------
Dump of 1 surfaces
-------
1 : Plane
Origin :-71.9557571411133, -65, 40.590404510498
Axis :-3.12793537185052e-008, 0, -1
XAxis :1, 0, -3.12793537185052e-008
YAxis :0, -1, -0
Steps to reproduce
restore Attachment 1 (BREP) f
dump f
dump f
Public activity
4 archived notes
Participants are labeled by their role within this record.
Dear ifv.
Branch CR24151 is ready to review.
This is an intermediate result for estimation number of regression only.
Branch CR24151 is ready to review.
This is an intermediate result for estimation number of regression only.
Ok
Dear BugMaster,
Branch CR24151 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
[revision removed]
Number of compiler warnings:
occt component :
Linux: 781 (787 on master)
Windows: 392 (392 on master)
products component :
Linux: 190 (190 on master)
Windows: 287 (287 on master)
Regressions:
http://occt-tests/CR24151-master-occt/Debian60-64/summary.html
http://occt-tests/CR24151-master-occt/Windows-32-VC9/summary.html
Branch CR24151 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
[revision removed]
Number of compiler warnings:
occt component :
Linux: 781 (787 on master)
Windows: 392 (392 on master)
products component :
Linux: 190 (190 on master)
Windows: 287 (287 on master)
Regressions:
http://occt-tests/CR24151-master-occt/Debian60-64/summary.html
http://occt-tests/CR24151-master-occt/Windows-32-VC9/summary.html
There is no problem with vector normalization. The problem in original issue #24108 is of different nature.