Click or drag to resize

Subdiv2DGetVoronoiFacetList Method

Returns a list of all Voronoi facets.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public void GetVoronoiFacetList(
	IEnumerable<int> idx,
	out Point2f[][] facetList,
	out Point2f[] facetCenters
)

Parameters

idx
Type: System.Collections.GenericIEnumerableInt32
Vector of vertices IDs to consider. For all vertices you can pass empty vector.
facetList
Type: OpenCvSharpPoint2f
Output vector of the Voronoi facets.
facetCenters
Type: OpenCvSharpPoint2f
Output vector of the Voronoi facets center points.
See Also