edgeOrg method

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

Implementation

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