SC: The universal model

View source: R/SC-model.R

SCR Documentation

The universal model

Description

The universal model SC is coordinates and binary relations between pairs of coordinates. This is purely an edge (or segment) model, with all higher level structures recorded as groupings of edges.

Usage

SC(x, ...)

## Default S3 method:
SC(x, ...)

## S3 method for class 'TRI'
SC(x, ...)

## S3 method for class 'pslg'
SC(x, ...)

Arguments

x

input model

...

arguments passed to methods

Value

SC model with tables 'object', 'object_link_edge', 'edge', and 'vertex'

Examples

## we can produce a high quality triangulation from a low quality one
## see how the TRI edges are maintained (we can't yet filter out holes from DEL)
tri <- TRI(minimal_mesh)
plot(tri)
plot(SC(tri))

mdsumner/sc documentation built on Jan. 16, 2024, 2:03 a.m.