Comments (3)
I believe the issue is caused by coincident edges, where one edge is a segment of another. RobustCrossing returns 1. I'm not sure how to test for these cases. Looks like I'm going to need to implement my own robustUnion (intersection and subtraction) methods,
from s2-geometry-library-java.
Try again. The last update to the library included numerous robustness improvements that generally improve these kinds of operations.
from s2-geometry-library-java.
Feel free to reopen if you have any examples to share that still fail on the latest version.
from s2-geometry-library-java.
Related Issues (20)
- S2polygon.getCentroid seems wrong in some case? HOT 4
- S2CellCreation HOT 3
- Retrieve cell based on shortest distance
- Create cell by mentioning level HOT 1
- Support adding an offset to an S2LatLng, compute the heading/angle, etc.
- [BUG] OOM happened when S2RegionCoverer try to getCovering !!!
- [BUG] OOM happened when S2RegionCoverer try to getCovering !!! HOT 6
- Query on polylines HOT 1
- CellID lost when S2RegionCoverer.getCovering() HOT 6
- S2RegionCoverer.getCoveringInternal Tries to cover whole globe! HOT 1
- Adding additional attribute to S2Polygon class for custom feature? HOT 4
- does S2 support maven version in repository? HOT 2
- Information: Library S2 Geometry in Kotlin exists
- Java port for S2RegionTermIndexer (c++) HOT 3
- S1Angle.fromEarthDistance HOT 1
- [FR] Are there J2CL annotations for this library? HOT 4
- Latest version in maven repo? HOT 9
- S2ContainsPointQuery - Different Result between Java and CPP HOT 1
- What's the unit of area being calculated in S2Cell class? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from s2-geometry-library-java.