run_DT: Delaunay Triangulation on 5 points

View source: R/app.R

run_DTR Documentation

Delaunay Triangulation on 5 points

Description

calculates the delaunay triangulation of 5 points

Usage

run_DT(limit = Inf, input = NULL)

Arguments

limit

The upper limit on the number of triangles to be drawn, defaults to infinite

input

A 2x5 matrix can be supplied, if left blank the user is asked for values at runtime

Details

Plots the standard delaunay triangulation of the 5 points. input takes

a 2x5 matrix as input, or takes values from the user at runtime by default

Examples

## Not run: run_DT()
## Not run: run_DT(limit = 3)
run_DT(input = matrix(c(1,2,3,9,0,5,6,9,4,3), ncol = 5, byrow = FALSE))
run_DT(input = matrix(c(5,6,8,2,9,1,7,9,2,4), ncol = 5, byrow = FALSE))


ZeroDawn0D/trianglegsoc documentation built on April 1, 2022, 12:18 a.m.