Showing 1-20 of 5,326 packages
A library for finding the intersection of two polygons
Fast point-in-polygon intersection for large numbers of polygons.
Find self-intersections in geojson polygon (possibly with interior rings)
Apply boolean Polygon clipping operations (intersection, union, difference, xor) to your Polygons & MultiPolygons.
A BVH implementation to speed up raycasting against three.js meshes.
Martinez polygon clipping algorithm, does boolean operation on polygons (multipolygons, polygons with holes etc): intersection, union, difference, xor
A module to check if a polygon self-intersects using a sweepline algorithm
Finds the shared area between two polygons.
Checks if two geometries have an area of overlap without one being completely contained inside the other.
Monitor if a component is inside the viewport, using IntersectionObserver API
Takes a complex (i.e. self-intersecting) geojson polygon, and breaks it down into its composite simple, non-self-intersecting one-ring polygons.
Operations for two-dimensional polygons.
Checks if two geometries cross each other.
TypeScript definitions for d3-polygon
Reference Implementation of the Dufour-Peyton Intersection Algorithm. Calculates the Intersections of Arbitrary Polygons with a Geospatial Raster.
Polygon and line clipping and offsetting library for Javascript / Typescript - a port of Angus Johnson's clipper to WebAssembly / Asm.JS
Apply boolean polygon clipping operations (intersection, union, difference, xor) to your Polygons & MultiPolygons.
determine if a point is inside a polygon with a ray intersection counting algorithm
A point in polygon based on the paper Optimal Reliable Point-in-Polygon Test and Differential Coding Boolean Operations on Polygons
A React hook for the IntersectionObserver API that uses a polyfill when the native API is not available