Learn R Programming

silicate (version 0.2.0)

TRI0: TRI0 model, structural triangulations

Description

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

Usage

TRI0(x, ...)

# S3 method for default TRI0(x, ...)

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

# S3 method for PATH0 TRI0(x, ...)

# S3 method for PATH TRI0(x, ...)

Arguments

x

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

...

currently unused

Value

TRI0 model with tables 'object', '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 <- TRI0(minimal_mesh)
print(tri)
plot(tri)
# }

Run the code above in your browser using DataLab