@turf/boolean-point-in-polygon 7.1.0-alpha.7 → 7.1.0-alpha.70
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 +6 -10
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -10,10 +10,10 @@ resides inside the polygon. The polygon can be convex or concave. The function a
|
|
|
10
10
|
### Parameters
|
|
11
11
|
|
|
12
12
|
* `point` **[Coord][4]** input point
|
|
13
|
-
* `polygon` **[Feature][5]<([Polygon][
|
|
14
|
-
* `options` **[Object][
|
|
13
|
+
* `polygon` **[Feature][5]<([Polygon][2] | [MultiPolygon][3])>** input polygon or multipolygon
|
|
14
|
+
* `options` **[Object][6]** Optional parameters (optional, default `{}`)
|
|
15
15
|
|
|
16
|
-
* `options.ignoreBoundary` **[boolean][
|
|
16
|
+
* `options.ignoreBoundary` **[boolean][7]** True if polygon boundary should be ignored when determining if
|
|
17
17
|
the point is inside the polygon otherwise false. (optional, default `false`)
|
|
18
18
|
|
|
19
19
|
### Examples
|
|
@@ -32,7 +32,7 @@ turf.booleanPointInPolygon(pt, poly);
|
|
|
32
32
|
//= true
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Returns **[boolean][
|
|
35
|
+
Returns **[boolean][7]** `true` if the Point is inside the Polygon; `false` if the Point is not inside the Polygon
|
|
36
36
|
|
|
37
37
|
[1]: https://tools.ietf.org/html/rfc7946#section-3.1.2
|
|
38
38
|
|
|
@@ -44,13 +44,9 @@ Returns **[boolean][9]** `true` if the Point is inside the Polygon; `false` if t
|
|
|
44
44
|
|
|
45
45
|
[5]: https://tools.ietf.org/html/rfc7946#section-3.2
|
|
46
46
|
|
|
47
|
-
[6]: https://
|
|
47
|
+
[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
|
|
48
48
|
|
|
49
|
-
[7]: https://
|
|
50
|
-
|
|
51
|
-
[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
|
|
52
|
-
|
|
53
|
-
[9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean
|
|
49
|
+
[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean
|
|
54
50
|
|
|
55
51
|
<!-- This file is automatically generated. Please don't edit it directly. If you find an error, edit the source file of the module in question (likely index.js or index.ts), and re-run "yarn docs" from the root of the turf project. -->
|
|
56
52
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turf/boolean-point-in-polygon",
|
|
3
|
-
"version": "7.1.0-alpha.
|
|
3
|
+
"version": "7.1.0-alpha.70+948cdafaf",
|
|
4
4
|
"description": "turf boolean-point-in-polygon module",
|
|
5
5
|
"author": "Turf Authors",
|
|
6
6
|
"license": "MIT",
|
|
@@ -63,10 +63,11 @@
|
|
|
63
63
|
"typescript": "^5.2.2"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@turf/helpers": "^7.1.0-alpha.
|
|
67
|
-
"@turf/invariant": "^7.1.0-alpha.
|
|
66
|
+
"@turf/helpers": "^7.1.0-alpha.70+948cdafaf",
|
|
67
|
+
"@turf/invariant": "^7.1.0-alpha.70+948cdafaf",
|
|
68
|
+
"@types/geojson": "^7946.0.10",
|
|
68
69
|
"point-in-polygon-hao": "^1.1.0",
|
|
69
70
|
"tslib": "^2.6.2"
|
|
70
71
|
},
|
|
71
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "948cdafaf70606d2e27fcc79973fa48ee1182067"
|
|
72
73
|
}
|