]> 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>
Wed, 20 Jul 2022 12:53:27 +0000 (15:53 +0300)
commita3e117be2c08c71916a68a673051bcba7044cdb5
tree2fc8a138d6652908edde76885080cf8691f6ec7b
parent459e7b77ab86b93b7eb7be0ac1eec7dfffd6d438
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]