edgeOrg method

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

Implementation

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