triangulate

package
v1.11.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InTriangle

func InTriangle(pt, pt0, pt1, pt2 Point) bool

func Triangulate

func Triangulate(pts []Point) []uint16

Triangulate triangulates the region surrounded by the points pts and returnes the point indices.

Types

type Point

type Point struct {
	X float32
	Y float32
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL