DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0024151

Wrong normalize of vector in gp_Dir constructor

Open CASCADEOCCT:Modeling Algorithmsclosed4 public notes

Search issues

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

Steps to reproduce

restore Attachment 1 (BREP) f
dump f

Public activity

4 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Dear ifv.

Branch CR24151 is ready to review.

This is an intermediate result for estimation number of regression only.
02Commenter 2
Ok
03Commenter 3
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
04Commenter 4
There is no problem with vector normalization. The problem in original issue #24108 is of different nature.