Learn R Programming

silicate (version 0.2.0)

TRI: TRI model, triangulations

Description

TRI creates a constrained triangulation using 'ear-cutting', or 'ear-clipping' of polygons.

Usage

TRI(x, ...)

# S3 method for TRI plot(x, ..., add = FALSE)

Arguments

x

object understood by silicate (sf, sp, a silicate model, etc.)

...

current unused

add

logical create new plot (default), or add to existing

Value

TRI model with tables 'object', 'triangle', 'vertex'

Details

Ear-cutting is inherently path-based, so this model is only available for path-based structures, like simple features, PATH(), PATH0() and ARC().

Examples

Run this code
# NOT RUN {
tri <- TRI(minimal_mesh)
plot(tri)
# }

Run the code above in your browser using DataLab