@kcuf/geometry-basic
v0.3.3
Published
Some basic geometry utility functions.
Downloads
133
Readme
@/pkg/helper-geometry
几何算法辅助
参考:
| lib | npm | git | 说明 | | --- | --- | --- | --- | | @turf/turf | npm | git | A modular geospatial engine written in JavaScript | | @mathigon/euclid | npm | git | A Typescript library for 2D geometry | | 2d-geometry | npm | git | A fork of flatten-js focused on performance, ergonomics and Typescript | | flatten-js | npm | git | A Javascript library for 2d geometry | | @markroland/path-helper | npm | git | A variety of methods to assist with performing operations on multi-point paths (polylines) |
各模块说明
保证 src/helper
下各模块依赖关系为下方依赖上方,避免循环依赖:
base
基础,获取形状原信息angle
角comparison
比较relation
关系transform
变化(选择、移动等)mutation
修改slicing
切割justify
矫正misc
杂项