selfintersects
Self-intersections occur when a geometric object intersects itself at a point that lies on multiple parts of the object. For curves or parametric representations, this means there exist parameters t1 ≠ t2 with f(t1) = f(t2). For polygons, a self-intersecting polygon has nonconsecutive edges that cross.
Common examples include the lemniscate of Bernoulli, a curve with a figure-eight shape that crosses at the
In topology and geometry, the concept relates to embeddings and immersions. An embedding is a map that
Detection and handling are common in computational geometry and computer graphics. Self-intersection tests reduce to line