Expand description
2D geometric calculations for convex hull operations
This module provides utility functions for 2D geometric computations commonly used in convex hull algorithms.
Functionsยง
- compute_
2d_ hull_ equations - Compute facet equations for a 2D convex hull
- compute_
polygon_ area - Compute the area of a 2D polygon using the shoelace formula
- compute_
polygon_ perimeter - Compute the perimeter of a 2D polygon
- cross_
product_ 2d - Compute cross product for three 2D points (returns z-component of 3D cross product)
- distance_
squared_ 2d - Compute squared distance between two 2D points
- is_
counterclockwise - Check if three points are ordered counterclockwise
- polar_
angle - Calculate polar angle from a reference point