没有合适的资源?快使用搜索试试~ 我知道了~
sweepline-intersections:使用扫掠线算法检测多边形或折线中的自相交的小模块
共46个文件
js:16个
geojson:15个
png:5个
需积分: 30 4 下载量 44 浏览量
2021-05-09
02:22:14
上传
评论
收藏 977KB ZIP 举报
温馨提示
扫掠线相交 使用扫掠线算法检测多边形和/或折线之间的交点的小型快速模块。 文献资料 安装 npm install sweepline-intersections 基本用途 有效输入:Geojson Feature或Geometry包括Polygon , LineString , MultiPolygon , MultiLineString以及FeatureCollection 。 返回交点的数组,例如[[x1,y1],[x2,y2]] const findIntersections = require ( 'sweepline-intersections' ) const box = { type : 'Polygon' , coordinates : [ [ [ 0 , 0 ] , [ 1 , 0 ] , [ 1 , 1 ] , [ 0 , 1 ] , [ 0 , 0
资源推荐
资源详情
资源评论
收起资源包目录
sweepline-intersections-master.zip (46个子文件)
sweepline-intersections-master
.gitignore 115B
.eslintrc 204B
package.json 2KB
src
compareEvents.js 552B
Event.js 354B
debug.js 1KB
main.js 363B
fillQueue.js 2KB
utils.js 1KB
Segment.js 150B
SweeplineIntersections.js 1KB
runCheck.js 1KB
LICENSE 1KB
debug
44a526eed258222515aa21eaffd14a96.png 618B
src
main.js 100B
App.vue 1KB
coords.js 514B
webpack.config.js 1KB
2273e3d8ad9264b7daa5bdbf8e6b47f8.png 1KB
build.js 1.8MB
index.html 206B
a6137456ed160d7606981aa57c559898.png 696B
4f0283c6ce28e888000e978e537a6a56.png 1KB
401d815dc206b8dc1b17cd0e37695975.png 2KB
CHANGELOG.md 358B
FUNDING.yml 64B
rollup.config.js 1KB
README.md 6KB
.npmignore 17B
test
test.e2e.js 1KB
benchmark.js 3KB
fixtures
simple
diamond.geojson 485B
chile.geojson 673KB
switzerland.geojson 31KB
MultiLinestring.geojson 6KB
diamondMulti.geojson 492B
notSimple
superbad.geojson 1KB
switzerlandKinked.geojson 57KB
itersect-shared-vertice.geojson 339B
chileKinked.geojson 768KB
withHole.geojson 23KB
example.geojson 810B
example2.geojson 374B
example1.geojson 628B
touching.geojson 450B
doubleIntersection.geojson 860B
共 46 条
- 1
资源评论
秦风明
- 粉丝: 25
- 资源: 4732
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功