We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
geolatte-geom/geom/src/main/java/org/geolatte/geom/Box.java
Line 223 in b376032
The Box.intersects (and other) method uses getCoordinateDimension() to compare all coordinates.
For a C2DM this dimension is 3. This means that also M values are used in the comparison, which in my opinion is wrong.
Regards,
Philip Van Bauwel
The text was updated successfully, but these errors were encountered:
It's not per se wrong. It makes sense to treat the M-coordinate just like any other coordinate.
It's just that in many use cases we want the intersects() (or other operation) in 2D.
I propose we add this as a separate class (comparable to ProjectedGeometryOperations). So we can have something like Box2DOps.intersects(b1, b2).
ProjectedGeometryOperations
Box2DOps.intersects(b1, b2)
Sorry, something went wrong.
No branches or pull requests
geolatte-geom/geom/src/main/java/org/geolatte/geom/Box.java
Line 223 in b376032
The Box.intersects (and other) method uses getCoordinateDimension() to compare all coordinates.
For a C2DM this dimension is 3. This means that also M values are used in the comparison, which in my opinion is wrong.
Regards,
Philip Van Bauwel
The text was updated successfully, but these errors were encountered: