pub unsafe extern "C" fn lstptr(
lpl: *const c_int,
nb: *const c_int,
list: *const c_int,
lptr: *const c_int,
) -> c_intExpand description
Returns the index of nb in the adjacency list.
This function returns the index (list pointer) of nb in the adjacency list for n0, where lpl = lend[n0]. This function is identical to the similarly named function in TRIPACK.
§Arguments
lpl- Input. Islend[n0]nb- Input. The index of the node whose pointer is to be returned.nbmust be connected ton0.list[6 * (n - 2)],lptr[6 * (n - 2)]- Input. The data structure defining the triangulation, created by trmesh.
§Returns
Pointer lstptr such that list[lstptr] = nb or list[lstptr] = -nb, unless nb
is not a neighbor of n0, in which case lstptr = lpl.