as_pslg: Planar Straight Line Graph

View source: R/as_pslg.R

as_pslgR Documentation

Planar Straight Line Graph

Description

Create a 'pslg' which is a mesh of segments used in the RTriangle package.

Usage

as_pslg(x)

## Default S3 method:
as_pslg(x)

Arguments

x

data model (understood by SC0())

Details

The pslg is constructed from from unique vertices x, y and their segments. In the context of triangulating the functions DEL0() and DEL() do more to ensure that input polygons have their holes culled out (or classified by invisible triangles.)

Value

object of class RTriangle::pslg from the RTriangle package

Examples

data("minimal_mesh", package = "silicate")
as_pslg(minimal_mesh)

hypertidy/rangl documentation built on Nov. 24, 2022, 10:29 p.m.