This stitches together the incisions and tears by inserting new points in the tears and creating correspondences between new points.
StitchedOutline(a)
AnnotatedOutline
object
Rset
the set of points on the rim
i0
the index of the landmark
P
a new set of meshpoints
V0
indicies of the apex of each tear
VF
indicies of the forward vertex of each tear
VB
indicies of the backward vertex of each tear
TFset
list containing indicies of points in each foward tear
TBset
list containing indicies of points in each backward tear
gf
new forward pointer list
gb
new backward pointer list
h
correspondence mapping
hf
correspondence mapping in forward direction for points on boundary
hb
correspondence mapping in backward direction for points on boundary