-
Notifications
You must be signed in to change notification settings - Fork 268
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
Rotate method #123
Comments
Here are two functions I wrote (outside of GeoPHP) for rotating a point and a polygon around an origin point. I'm using these in my farm management software - but ultimately they should probably be included in GeoPHP as methods for each class. So we'll also need to write the code for LineStrings, Collections, etc. Also note: these include BCMath code as well. See #114 and #115
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature request: add a rotate() method to the Geometry class that allows geometries to be rotated by a given angle around their centroid point.
The text was updated successfully, but these errors were encountered: