Skip to content

ZeroDawn0D/tRiad

Repository files navigation

tRiad

R-CMD-check

Overview

tRiad is a package to perform Delaunay Triangulations (Sloan(1987)) on a set of 2D points. It was developed as part of GSoC 2022 for the R Project for Statistical Computing. It was developed with the help of my mentors Di Cook and Harriet Mason.

Installation

#Development version
#install.packages("devtools")
devtools::install_github("ZeroDawn0D/tRiad")

Running

x <- c(0,10,-20,30,10,-10)
y <- c(10,-20,-20,20,0,0)
plot(x,y)

library("tRiad")
tRiad.obj <- DelTri(x,y)
plot(tRiad.obj)

Using Data Frames

data("hundred")
plot(hundred)

tRiad.hundred <- DelTri(hundred)
plot(tRiad.hundred, type = 'n')

Releases

No releases published

Packages

No packages published