compute_skeleton: Compute skeleton

Description Usage Arguments Examples

View source: R/compute_skeleton.R

Description

Computes a skeleton for a given rectilinearly convex polygon from a heuristic

Usage

1
compute_skeleton(polygon, scenario = 1, anim = FALSE, eps = 0.01)

Arguments

polygon

A data frame containing the x and y coordinates of the polygon vertices

scenario

Defines the order in which candidate skeleton edges are ranked: (1) Number of frontiers; parallel frontiers; xy advancement; edge length. (2) Number of frontiers; xy advancement; edge length. (3) xy advancement; number of frontiers; parallel frontiers; edge length. (4) xy advancement; number of frontiers; edge length.

anim

If true; outputs additional data which can be used to animate the algorithm or construct faceted plots showing each iteration.

Examples

1

marcusvolz/steiner documentation built on April 25, 2018, 12:14 p.m.