Skip to main content

Crate earcut

Crate earcut 

Source
Expand description

A Rust port of the Earcut polygon triangulation library.

Modules§

int
Integer-coordinate variant of crate::Earcut
utils3d
Helpers for projecting 3D coplanar polygons onto a 2D plane

Structs§

Earcut
Instance of the earcut algorithm.

Traits§

Index
Index of a vertex

Functions§

deviation
Returns a percentage difference between the polygon area and its triangulation area; used to verify correctness of triangulation