Skip to content

Commit

Permalink
Docs: clearer description for booleanOverlap (#2133)
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Brett authored Jun 28, 2021
1 parent 4eab527 commit 630db1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/turf-boolean-overlap/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import { Feature, Geometry, MultiPoint } from "@turf/helpers";
* different from both but of the same dimension. It applies to Polygon/Polygon, LineString/LineString,
* Multipoint/Multipoint, MultiLineString/MultiLineString and MultiPolygon/MultiPolygon.
*
* In other words, it returns true if the two geometries overlap, provided that neither completely contains the other.
*
* @name booleanOverlap
* @param {Geometry|Feature<LineString|MultiLineString|Polygon|MultiPolygon>} feature1 input
* @param {Geometry|Feature<LineString|MultiLineString|Polygon|MultiPolygon>} feature2 input
Expand Down

0 comments on commit 630db1e

Please sign in to comment.