edgeOrg method

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

Implementation

(int rval, Point2f orgpt) edgeOrg(int edge) {
  return using<(int, Point2f)>((arena) {
    final pp = calloc<cimgproc.Point2f>();
    final p = arena<ffi.Int>();
    cvRun(() => cimgproc.Subdiv2D_EdgeOrg(ref, edge, pp, p));
    return (p.value, Point2f.fromPointer(pp));
  });
}