Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Point ¶
type Point struct {
X, Y float64
}
func ConvexHull ¶
ConvexHull returns the convex hull of the provided points.
type Triangulation ¶
func Triangulate ¶
func Triangulate(points []Point) (*Triangulation, error)
Triangulate returns a Delaunay triangulation of the provided points.
func (*Triangulation) Validate ¶
func (t *Triangulation) Validate() error
Validate performs several sanity checks on the Triangulation to check for potential errors. Returns nil if no issues were found. You normally shouldn't need to call this function but it can be useful for debugging.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.