@thi.ng/geom-poly-utils
Advanced tools
Comparing version 0.1.27 to 0.1.28
@@ -1,2 +0,2 @@ | ||
import { Vec } from "@thi.ng/vectors"; | ||
import { Vec, VecPair } from "@thi.ng/vectors"; | ||
/** | ||
@@ -20,2 +20,2 @@ * Computes the nD bounds of given vectors. `vmin` should be initialized | ||
*/ | ||
export declare const bounds: (pts: readonly Vec[], vmin: Vec, vmax: Vec) => [Vec, Vec]; | ||
export declare const bounds: (pts: readonly Vec[], vmin: Vec, vmax: Vec) => VecPair; |
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.1.28](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-poly-utils@0.1.27...@thi.ng/geom-poly-utils@0.1.28) (2019-11-30) | ||
**Note:** Version bump only for package @thi.ng/geom-poly-utils | ||
## [0.1.27](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-poly-utils@0.1.26...@thi.ng/geom-poly-utils@0.1.27) (2019-11-09) | ||
@@ -8,0 +16,0 @@ |
{ | ||
"name": "@thi.ng/geom-poly-utils", | ||
"version": "0.1.27", | ||
"description": "Polygon / triangle analysis & processing utilities", | ||
"version": "0.1.28", | ||
"description": "2D polygon / triangle analysis & processing utilities", | ||
"module": "./index.js", | ||
@@ -21,21 +21,24 @@ "main": "./lib/index.js", | ||
"build:test": "rimraf build && tsc -p test/tsconfig.json", | ||
"test": "yarn build:test && mocha build/test/*.js", | ||
"cover": "yarn build:test && nyc mocha build/test/*.js && nyc report --reporter=lcov", | ||
"test": "mocha test", | ||
"cover": "nyc mocha test && nyc report --reporter=lcov", | ||
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib", | ||
"doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src", | ||
"doc:readme": "../../scripts/generate-readme", | ||
"doc": "node_modules/.bin/typedoc --mode modules --out doc src", | ||
"pub": "yarn build:release && yarn publish --access public" | ||
}, | ||
"devDependencies": { | ||
"@istanbuljs/nyc-config-typescript": "^0.1.3", | ||
"@types/mocha": "^5.2.6", | ||
"@types/node": "^12.6.3", | ||
"mocha": "^6.1.4", | ||
"@types/node": "^12.12.11", | ||
"mocha": "^6.2.2", | ||
"nyc": "^14.0.0", | ||
"typedoc": "^0.15.0", | ||
"typescript": "^3.6.4" | ||
"ts-node": "^8.5.2", | ||
"typedoc": "^0.15.2", | ||
"typescript": "^3.7.2" | ||
}, | ||
"dependencies": { | ||
"@thi.ng/errors": "^1.2.1", | ||
"@thi.ng/geom-api": "^0.3.7", | ||
"@thi.ng/math": "^1.5.0", | ||
"@thi.ng/vectors": "^4.0.0" | ||
"@thi.ng/errors": "^1.2.2", | ||
"@thi.ng/geom-api": "^0.3.8", | ||
"@thi.ng/math": "^1.5.1", | ||
"@thi.ng/vectors": "^4.0.1" | ||
}, | ||
@@ -61,3 +64,3 @@ "keywords": [ | ||
"sideEffects": false, | ||
"gitHead": "97add769f24aa32a1a5e13c5c941605e1b9eb569" | ||
"gitHead": "36c4d9e967bd80ccdbfa0f4a42f594080f95f105" | ||
} |
@@ -0,4 +1,6 @@ | ||
<!-- This file is generated - DO NOT EDIT! --> | ||
# @thi.ng/geom-poly-utils | ||
[](https://www.npmjs.com/package/@thi.ng/geom-poly-utils) | ||
[](https://www.npmjs.com/package/@thi.ng/geom-poly-utils) | ||
 | ||
@@ -10,16 +12,13 @@ [](https://twitter.com/thing_umbrella) | ||
<!-- TOC depthFrom:2 depthTo:3 --> | ||
- [About](#about) | ||
- [Status](#status) | ||
- [Installation](#installation) | ||
- [Dependencies](#dependencies) | ||
- [Usage examples](#usage-examples) | ||
- [API](#api) | ||
- [Authors](#authors) | ||
- [License](#license) | ||
<!-- /TOC --> | ||
## About | ||
Polygon / triangle analysis & processing utilities: | ||
2D polygon / triangle analysis & processing utilities. | ||
@@ -36,2 +35,10 @@ - signed 2D polygon & triangle area | ||
Current implementations partially based on | ||
[toxiclibs](http://toxiclibs.org) (Java) and Clojure version of | ||
[thi.ng/geom](http://thi.ng/geom). | ||
### Status | ||
**STABLE** - used in production | ||
## Installation | ||
@@ -50,14 +57,14 @@ | ||
## Usage examples | ||
## API | ||
```ts | ||
import * as gpu from "@thi.ng/geom-poly-utils"; | ||
``` | ||
[Generated API docs](https://docs.thi.ng/umbrella/geom-poly-utils/) | ||
TODO | ||
## Authors | ||
- Karsten Schmidt | ||
Karsten Schmidt | ||
## License | ||
© 2018 Karsten Schmidt // Apache Software License 2.0 | ||
© 2016 - 2019 Karsten Schmidt // Apache Software License 2.0 |
53910
39
68
8
Updated@thi.ng/errors@^1.2.2
Updated@thi.ng/geom-api@^0.3.8
Updated@thi.ng/math@^1.5.1
Updated@thi.ng/vectors@^4.0.1