getEdgeAsync method

Future<int> getEdgeAsync(
  1. int edge,
  2. int nextEdgeType
)

Returns one of the edges related to the given edge.

nextEdgeType : Parameter specifying which of the related edges to return. The following values are possible:

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

Implementation

Future<int> getEdgeAsync(int edge, int nextEdgeType) async => cvRunAsync(
      (callback) => cffi.Subdiv2D_GetEdge_Async(ref, edge, nextEdgeType, callback),
      intCompleter,
    );