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 | |
---|---|---|---|---|---|
inRegion | AvlNet.Region | Input region. | |||
inComponentCount | int | <1, INF> | |||
inDistanceBalance | float | <-1.0f, 1.0f> | Defines how much important the distance between regions in x coordinate is according to distance in y coordinate. | ||
inRemoveBoundaryBlobs | bool | False | Flag indicating whether the blobs on border of the input region should be removed or not. Default value: False. | ||
outComponents | AvlNet.INullable<AvlNet.SafeList<AvlNet.Region>> | This parameter cannot be null. |