resqpy.olio.triangulation.rims

resqpy.olio.triangulation.rims(all_rim_edges)[source]

Returns edge index and points index lists of distinct rims.

Parameters

all_rim_edges (numpy int array of shape (N, 2)) – edge point indices; as returned by rim_edges()

Returns

(list of arrays of rim edge indices, list of arrays of corresponding points indices) where arrays are 1D numpy int arrays; those of first list hold indices into rows of all_rim_edges; those of second list hold the corresponding points indices, both ordered in sequence of rim