Concepts4
⚙️AlgorithmIntermediate
Line Sweep
Line sweep (plane sweep) is a technique that processes geometric objects by moving an imaginary line and handling events in sorted order.
#line sweep#plane sweep#event queue+12
⚙️AlgorithmIntermediate
Basic Geometry - Lines and Segments
A line can be represented by two points, a point with a direction vector, or the general form ax + by + c = 0, and these forms are interconvertible.
#line intersection#segment intersection#orientation test+12
⚙️AlgorithmIntermediate
Convex Hull
The convex hull is the smallest convex polygon that contains all given points, like a rubber band snapped around nails on a board.
#convex hull#graham scan#monotone chain+12
⚙️AlgorithmIntermediate
Point in Polygon
Point-in-polygon decides whether a point lies outside, inside, or on the boundary of a polygon.
#point in polygon#ray casting#winding number+11