Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Triangle ¶
type Triangle struct {
A, B, C Point
}
Triangle is a triangle with three points
func SuperTriangle ¶
SuperTriangle returns a triangle that contains all points in the given set
type Triangulation ¶
type Triangulation []Triangle
Triangulation is a list of triangles
func Lawson ¶
func Lawson(points []Point) Triangulation
Lawson returns the Delaunay triangulation of the given points using Lawson's algorithm
Click to show internal directories.
Click to hide internal directories.