Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ellipse implementation: Several bug fixes
I. Fix minor bug where wrong b was used to create ellipse internal geometry. Tweak the internal geometry code a bit and reformat it so it isn't so wide. Also begin debugging constraint conflicts on small circular ellipses. There seem to be two issues currently in major/minor internal geometry lines: 1) Sometimes minorLength > majorLength due to round-tripping doubles, and 2) Constraint conflicts when majorLength > minorLength by an epsilon on the order of 1e-6 (cherry picked from commit 5c3e20a) II. When testing for a valid ellipse, also ensure that the mangled major axis length > the mangled axis length. This additional condition ensures that major and minor axis constraints don't conflict in the case of small (nearly) circular ellipses. The is still a potential bug in the solver when the major length is just slightly larger than the minor, but this fix makes it nigh impossible to reproduce. (cherry picked from commit 7e274bc) III. Code clean up Remove redundant 3d vectors. (cherry picked from commit c656d51)
- Loading branch information
Showing
1 changed file
with
100 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters