-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add inverse function for affine matrix3x2 #527
Add inverse function for affine matrix3x2 #527
Conversation
67b99c3
to
36279f3
Compare
@mloskot Before re-running all the pipelines because one single little tiny travis stalled job, is there a way, as maintainers, to trigger a re-build of a specific job? Just to save the polar bears (and more) from climate change... |
@sdebionne Good thinking! Yes, there is a way and, I think, as a committer you are authorized to do it:
Unfortunately, this is not possible for AppVeyor, because AV does not seem to transfer the privileges from GitHub but it is owned by account used to create it, namely @stefanseefeld That is another reason I'd like to switch everything over to GitHub Actions, to streamline the CI chore as accessible across our team. |
Unfortunately I don't have the gray circle next to the job. Maybe some configuration on the travis side is required?
I don't much about GitHub Actions but if it makes the CI more accessible then 👍 |
@mloskot My bad, login out and back in fixed the permissions! Thanks for the tip. |
Sorry for ridiculous delay, but I completely missed this PR. Thanks! |
Description
Adds
inverse(boost::gil::matrix3x2<T> m)
that returns the inverse of the given affine matrix to thenumeric
extension. This is useful to implement an undo of an affine transformation or to compute the coordinate of points in the original coordinate system gievn the coordinate in transformed one.Use
BOOST_TEST_WITH
and defineswith_tolerance
ratherBOOST_GIL_TEST_IS_CLOSE
as discussed in boostorg/core#38Tasklist