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