You are here: Start » AVL.NET » AVS.SplitRegionIntoExactlyNComponents Method

AVS.SplitRegionIntoExactlyNComponents Method

Splits a region into a fixed-size array of regions.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void SplitRegionIntoExactlyNComponents
(
	AvlNet.Region inRegion,
	int inComponentCount,
	float inDistanceBalance,
	bool inRemoveBoundaryBlobs,
	INullable<SafeList<AvlNet.Region>> outComponents
)

Parameters

Name Type Range Default Description
inRegionAvlNet.RegionInput region.
inComponentCountint<1, INF>
inDistanceBalancefloat<-1.0f, 1.0f>Defines how much important the distance between regions in x coordinate is according to distance in y coordinate.
inRemoveBoundaryBlobsboolFalseFlag indicating whether the blobs on border of the input region should be removed or not. Default value: False.
outComponentsAvlNet.INullable<AvlNet.SafeList<AvlNet.Region>> This parameter cannot be null.

Function Overrides

See also