]> OCCT Git - occt.git/commit
0029406: Foundation Classes - gp_Ax3 fails setting direction
authorisn <isn@opencascade.com>
Thu, 11 Jan 2018 16:03:03 +0000 (19:03 +0300)
committersmoskvin <smoskvin@opencascade.com>
Fri, 26 Nov 2021 15:50:18 +0000 (18:50 +0300)
commit58c0958b5005beb81268afbc58cbb8116d84227b
treeffdf01b4330311f9d6708245625360cd280b52c2
parent323e88ada79a3d1b75818d2dd863ccc919409e55
0029406: Foundation Classes - gp_Ax3 fails setting direction

Avoid exception in gp_Ax3::SetDirection(), SetAxis(): check if XDir of Ax3 is parallel to newly given direction.
src/QABugs/QABugs_20.cxx
src/gp/gp_Ax3.hxx
tests/bugs/fclasses/bug29406 [new file with mode: 0644]