pub unsafe extern "C" fn insert(
k: *const c_int,
lp: *const c_int,
list: *mut c_int,
lptr: *mut c_int,
lnew: *mut c_int,
)Expand description
Inserts k as a neighbor of n1.
This subroutine inserts k as a neighbor of n1 following n2,
where lp is the list pointer of n2 as a neighbor of n1.
Note that, if n2 is the last neighbor of n1, K will become
the first neighbor (even if n1 is a boundary node).
This routine is identical to the similarly named routine in TRIPACK.
ยงArguments
k- Input. The index of the node to be inserted.lp- Input. Thelistpointer ofn2as a neighbor ofn1.list[6 * (n - 2)],lptr[6 * (n - 2)],lnew- Input/Output. The data structure defining the triangulation, created by trmesh. On output, updated with the addition of nodek