Expand description
Computational geometry functions, for example finding convex hulls.
Functions§
- approximate_
polygon_ dp - Approximates a polygon using the Douglas–Peucker algorithm.
- arc_
length - Computes the length of an arc. If
closed
is set totrue
then the distance between the last and the first point is included in the total length. - convex_
hull - Finds the convex hull of a set of points, using the Graham scan algorithm.
- min_
area_ rect - Finds the rectangle of least area that includes all input points. This rectangle need not be axis-aligned.