R/tribox.R

Defines functions tribox

Documented in tribox

tribox <-
function(...)
{
	lx = 2 / sqrt(3)
	tribox = cbind(c(0, lx / 2, lx), c(0, 1, 0))
	polygon(tribox, ...)
}

Try the trifield package in your browser

Any scripts or data that you put into this service are public.

trifield documentation built on May 29, 2017, 11:44 p.m.