edgeDst method

(int, Point2f) edgeDst(
  1. int edge
)

Implementation

(int rval, Point2f dstpt) edgeDst(int edge) {
  final pp = calloc<cvg.CvPoint2f>();
  final p = calloc<ffi.Int>();
  cvRun(() => cimgproc.cv_Subdiv2D_edgeDst(ref, edge, pp, p, ffi.nullptr));
  final rval = (p.value, Point2f.fromPointer(pp));
  calloc.free(p);
  return rval;
}