commit | a8b3b5b34b4e986589941fe0f66c829964fcea3d | [log] [tgz] |
---|---|---|
author | Sean O'Brien <seobrien@google.com> | Wed Jul 28 17:25:27 2021 |
committer | Sean O'Brien <seobrien@chromium.org> | Wed Jul 28 19:53:44 2021 |
tree | bae494f1ab24447865eca75e9c4ffddaffc5c218 | |
parent | ae27f37d2f08d7c14c79206585ed5df4481ea042 [diff] |
Fix path coordinate mapping for clockwise Arcs The Arc class's to_path_coordinates method assumed that all Arcs were counter-clockwise. This CL corrects the mapping for clockwise arcs. Also add unittests. BUG=b:148627899 TEST=unittests Change-Id: Idc32c8278ded932a9c9485df962caad039c038d0 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/optofidelity_TPPT_analysis/+/3059461 Tested-by: Sean O'Brien <seobrien@chromium.org> Reviewed-by: Harry Cutts <hcutts@chromium.org> Commit-Queue: Sean O'Brien <seobrien@chromium.org>