getVertex method
Returns vertex location from vertex ID.
https://docs.opencv.org/4.x/df/dbf/classcv_1_1Subdiv2D.html#a5297daca30f90d1e6d0cc5a75ba76351
Implementation
(Point2f rval, int firstEdge) getVertex(int vertex) {
return using<(Point2f, int)>((arena) {
final pp = calloc<cvg.Point2f>();
final p = arena<ffi.Int>();
cvRun(() => cffi.Subdiv2D_GetVertex(ref, vertex, p, pp));
return (Point2f.fromPointer(pp), p.value);
});
}