Documentation ¶
Overview ¶
Package triangulation provides utilities for creating Delaunay triangulations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Area ¶
Area returns the area of a convex polygon. Adapted from: https://www.geeksforgeeks.org/area-of-a-polygon-with-given-n-ordered-vertices/.
func Triangulate ¶
func Triangulate(points normgeom.NormPointGroup, w, h int) []geom.Triangle
Triangulate creates a Delaunay triangulation from a group of points and returns a set of triangles.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package incrdelaunay implements a library for incremental Delaunay triangulation, with support for dynamically adding and removing points.
|
Package incrdelaunay implements a library for incremental Delaunay triangulation, with support for dynamically adding and removing points. |
Click to show internal directories.
Click to hide internal directories.