Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make pasting mirrored tangent entities independent of end point knowl…
…edge The functions Constraint:: ConstrainArcLineTangent ConstrainCubicLineTangent ConstrainCurveCurveTangent were introduced in 96958f4 in order to properly paste arcs tangent to other objects when mirrored. See the original pull request for details solvespace#833 and test files. However these functions use the original logic in constraint.cpp that relies on the two entities sharing an end point. This will interfere implementing tangents on entities without coincident points so I changed the logic to remove the dependency. As a side benefit it makes it cleaner and it's intent more obvious. See solvespace#937
- Loading branch information