Learn R Programming

retistruct (version 0.5.11)

mergePointsEdges: Merge stitched points and edges

Description

This function creates merged and transformed versions (all suffixed with t) of a number of existing variables, as well as a matrix Bt, which maps a binary vector representation of edge indicies onto a binary vector representation of the indicies of the points linked by the edge.

Usage

mergePointsEdges(t)

Arguments

t

A StitchedOutline object in which points that have been added by stitching have been triangulated

Value

Adds following fields to input

Pt

Transformed point locations

Tt

Transformed triangulation

Ct

Transformed connection set

Cut

Transformed symmetric connection set

Bt

Transformed binary vector representation of edge indicies onto a binary vector representation of the indicies of the points linked by the edge

Lt

Transformed edge lengths

ht

Transformed correspondences

u

Indicies of unique points in untransformed space

U

Transformed indicies of unique points in untransformed space

Rset

The set of points on the rim (which has been reoorded)

Rsett

Transformed set of points on rim

i0t

Transformed index of the landmark

H

mapping from edges onto corresponding edges

Ht

Transformed mapping from edges onto corresponding edges