Subdiv2DAsync extension

Async version of Subdiv2D

on

Methods

edgeDstAsync(int edge) Future<(int, Point2f)>
Returns the edge destination.
edgeOrgAsync(int edge) Future<(int, Point2f)>
Returns the edge origin.
findNearestAsync(Point2f pt) Future<(int, Point2f)>
Finds the subdivision vertex closest to the given point.
getEdgeAsync(int edge, int nextEdgeType) Future<int>
Returns one of the edges related to the given edge.
getEdgeListAsync() Future<VecVec4f>
Returns a list of all edges.
getLeadingEdgeListAsync() Future<VecI32>
Returns a list of the leading edge ID connected to each triangle.
getTriangleListAsync() Future<VecVec6f>
Returns a list of all triangles.
getVertexAsync(int vertex) Future<(Point2f, int)>
Returns vertex location from vertex ID.
getVoronoiFacetListAsync(VecI32 idx) Future<(VecVecPoint2f, VecPoint2f)>
Returns a list of all Voronoi facets.
initDelaunayAsync(Rect rect) Future<void>
Creates a new empty Delaunay subdivision.
insertAsync(Point2f pt) Future<int>
Insert multiple points into a Delaunay triangulation.
insertVecAsync(VecPoint2f pv) Future<void>
Insert a single point into a Delaunay triangulation.
locateAsync(Point2f pt) Future<(int, int, int)>
Returns the location of a point within a Delaunay triangulation.
nextEdgeAsync(int edge) Future<int>
Returns next edge around the edge origin.
rotateEdgeAsync(int edge, int rotate) Future<int>
Returns another edge of the same quad-edge.
symEdgeAsync(int edge) Future<int>
https://docs.opencv.org/4.x/df/dbf/classcv_1_1Subdiv2D.html#aabbb10b8d5b0311b7e22040fc0db56b4

Static Methods

emptyAsync() Future<Subdiv2D>
fromRectAsync(Rect rect) Future<Subdiv2D>