getLeadingEdgeList method

VecI32 getLeadingEdgeList()

Returns a list of the leading edge ID connected to each triangle.

https://docs.opencv.org/4.x/df/dbf/classcv_1_1Subdiv2D.html#a2d02a1d66ef7f8f267beb549cb2823f1

Implementation

VecI32 getLeadingEdgeList() {
  return using<VecI32>((arena) {
    final pv = calloc<cimgproc.VecI32>();
    cvRun(() => cimgproc.Subdiv2D_GetLeadingEdgeList(ref, pv));
    return VecI32.fromPointer(pv);
  });
}