This stitches together the incisions and tears by inserting new points in the tears and creating correspondences between new points.
StitchedOutline(a)AnnotatedOutline object
Rsetthe set of points on the rim
i0the index of the landmark
Pa new set of meshpoints
V0indices of the apex of each tear
VFindices of the forward vertex of each tear
VBindices of the backward vertex of each tear
TFsetlist containing indices of points in each forward tear
TBsetlist containing indices of points in each backward tear
gfnew forward pointer list
gbnew backward pointer list
hcorrespondence mapping
hfcorrespondence mapping in forward direction for points on boundary
hbcorrespondence mapping in backward direction for points on boundary