Learn R Programming

retistruct (version 0.5.12)

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 indices onto a binary vector representation of the indices 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 indices onto a binary vector representation of the indices of the points linked by the edge

Lt

Transformed edge lengths

ht

Transformed correspondences

u

Indices of unique points in untransformed space

U

Transformed indices of unique points in untransformed space

Rset

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

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