mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-09 18:50:54 +03:00
The problem of incorrect CUT is wrong Pcurve after projection onto cylinder of a small edge orthogonal to cylinder's axis. The result of projection is a line along V direction, but it should be along U. ProjLib_Cylinder has no specific functionality to build projection in most common case, so it should return "not done" flag to start projection based on curve approximation. Following changes are done: 1. ProjLib_Cylinder returns isDone=false in the following cases: * the projected line is not parallel to cylinder's axis * the plane of projected circle is not orthogonal to cylinder's axis 2. Test case added Minor correction of test case