@turf/planepoint 6.5.0 → 7.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/es/index.js +0 -0
- package/dist/js/index.js +0 -0
- package/index.d.ts +2 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -11,12 +11,12 @@ that define the values at its three corners. Alternatively, the z-values
|
|
|
11
11
|
of each triangle point can be provided by their respective 3rd coordinate
|
|
12
12
|
if their values are not provided as properties.
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
### Parameters
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
* `point` **[Coord][3]** the Point for which a z-value will be calculated
|
|
17
|
+
* `triangle` **[Feature][4]<[Polygon][5]>** a Polygon feature with three vertices
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
### Examples
|
|
20
20
|
|
|
21
21
|
```javascript
|
|
22
22
|
var point = turf.point([-75.3221, 39.529]);
|
package/dist/es/index.js
CHANGED
|
File without changes
|
package/dist/js/index.js
CHANGED
|
File without changes
|
package/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turf/planepoint",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0-alpha.0",
|
|
4
4
|
"description": "turf planepoint module",
|
|
5
5
|
"author": "Turf Authors",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"docs": "node ../../scripts/generate-readmes",
|
|
45
45
|
"test": "npm-run-all test:*",
|
|
46
46
|
"test:tape": "node -r esm test.js",
|
|
47
|
-
"test:types": "tsc --esModuleInterop --noEmit types.ts"
|
|
47
|
+
"test:types": "tsc --esModuleInterop --noEmit --strict types.ts"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"benchmark": "*",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"tape": "*"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@turf/helpers": "^
|
|
57
|
-
"@turf/invariant": "^
|
|
56
|
+
"@turf/helpers": "^7.0.0-alpha.0",
|
|
57
|
+
"@turf/invariant": "^7.0.0-alpha.0"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "0edc4c491b999e5ace770a61e1cf549f7c004189"
|
|
60
60
|
}
|