delaunay

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EnableConstraints bool

Functions

This section is empty.

Types

type Constrained

type Constrained struct {
	Points      [][2]float64
	Constraints [][2][2]float64
	Order       winding.Order
}

func (*Constrained) Triangles

func (ct *Constrained) Triangles(ctx context.Context, includeFrame bool) (triangles [][3]geom.Point, err error)

type GeomConstrained

type GeomConstrained struct {
	Points      []geom.Point
	Constraints []geom.Line
	Order       winding.Order
}

func (*GeomConstrained) Triangles

func (ct *GeomConstrained) Triangles(ctx context.Context, includeFrame bool) ([]geom.Triangle, error)

Directories

Path Synopsis
Package quadedge describes a quadedge object used to build up the triangulation A quadedge is made up of four directional edges
Package quadedge describes a quadedge object used to build up the triangulation A quadedge is made up of four directional edges

Jump to

Keyboard shortcuts

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