【文件属性】:
文件名称:Delaunay-Triangulation:用于Delaunay三角剖分的Javascript模块
文件大小:17KB
文件格式:ZIP
更新时间:2021-05-26 12:34:50
JavaScript
德劳内三角剖分
用于三角剖分的Javascript模块。
关于Delaunay三角剖分
平面中一组P点的Delaunay三角剖分是DT(P)的三角剖分,因此P中的任何点都不在DT(P)中任何三角形的之内。 在上获取更多信息。
现场演示
安装
npm install delaunay-triangulation --save
基本用法示例
var Delaunay = require ( 'delaunay-triangulation' ) ;
var vertices = [
new Delaunay . Point ( 10 , 14 )
, new Delaunay . Point ( 1 , 15 )
, new Delaunay . Point ( 18 , 10 )
, new Delaunay . Point ( 8 , 10 )
, new Delaunay
【文件预览】:
Delaunay-Triangulation-master
----bin()
--------delaunay.js(11KB)
--------delaunay.min.js(4KB)
----example()
--------example1.html(2KB)
----package.json(1KB)
----test()
--------index.js(3KB)
----LICENSE(1KB)
----src()
--------core()
--------index.js(515B)
--------geom()
----.gitignore(491B)
----README.md(2KB)