Comments (4)
Ref: https://observablehq.com/@fil/lee-projection (which I momentarily “fixed” by going back to [email protected]).
from d3-geo-polygon.
the bad commit is eb1e663 (of course)
from d3-geo-polygon.
There is this quick test in https://github.com/d3/d3-geo-polygon/blob/master/src/intersect.js#L19 : two arcs of angles a.l and b.l can not intersect if the distance between start (or end) of the first and the start (or end) of the second make an angle > a.l + b.l.
I optimized it with the acos of the angles and forgot that, if A+B > pi, the cosine increases again. Fix and test incoming.
from d3-geo-polygon.
you are a wizard!
well done and thanks
from d3-geo-polygon.
Related Issues (20)
- fix HEALPix? HOT 1
- faster Voronoi projection
- Roşca-Plonka projection?
- Can this library be used with other projections? HOT 4
- [Cahill-Keyes] Conformal version HOT 3
- Use clipPolygon for geoInterrupted HOT 2
- Multiple broken links in examples HOT 6
- d3.geoVoronoi() is not (yet) existing? HOT 1
- MultiPolygon clipping HOT 3
- Easier usage with d3.geoProject? HOT 2
- named imports fail in webpack build. HOT 2
- planar polygon clipping HOT 1
- polygon clipping errors HOT 15
- use robust-predicates?
- clipping bug
- Node >10.17.0 support HOT 6
- Markley
- Inverse clipping on d3.geoClipPolygon HOT 2
- Tetrahedral Lee: Inverse broken? HOT 2
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 d3-geo-polygon.