TRI.QUAD: TRI model extensions

Description Usage Arguments Value Examples

View source: R/quadToTriangle.R

Description

TRI model from silicate is extended by methods for QUAD.

Usage

1
2
## S3 method for class 'QUAD'
TRI(x, ...)

Arguments

x

QUAD

...

reserved

Value

a TRI model, as per silicate package

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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)

anglr documentation built on July 29, 2020, 9:06 a.m.