Learn R Programming

anglr (version 0.7.0)

TRI.QUAD: TRI model extensions

Description

TRI model from silicate is extended by methods for QUAD.

Usage

# S3 method for QUAD
TRI(x, ...)

Arguments

x

QUAD

...

reserved

Value

a TRI model, as per silicate package

Examples

Run this code
# NOT RUN {
library(anglr)
library(raster)
v <- volcano[1:10, 1:6]
r <- setExtent(raster(v), extent(0, nrow(v), 0, ncol(v)))
a <- QUAD(r)
x <- copy_down(TRI(a), r)
nrow(x$vertex)
sc <- silicate::SC(x)
#mesh <- DEL(sc, max_area = .2)
#mesh <- copy_down(mesh, r)
#nrow(mesh$vertex)
# }

Run the code above in your browser using DataLab