NodeInterface.contains() method
Check whether the node contains the provided point.
Signature:
contains(point: Point): Polygon | false;
Parameters
Parameter |
Type |
Description |
---|---|---|
point |
Polygon | false
The containing Polygon, if one is found.
Remarks
This checks whether any of the node's polygons contain the point.
See Polygon.contains() for more info.