You are here: Start » AVL.NET » Invoke.SplitRegionIntoExactlyNComponents
Splits a region into a fixed-size array of regions.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void SplitRegionIntoExactlyNComponents ( Avl.Region inRegion, int inComponentCount, Optional<int> inMaxDistance, float inDistanceBalance, Optional<float> inMaxJointDiameter, Optional<int> inMaxJointWidth, Optional<int> inMaxJointHeight, bool inRemoveBoundaryBlobs, Conditional<List<Avl.Region>> outComponents )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inRegion | Avl.Region | Input region. | ||
![]()  | inComponentCount | int | <1, INF> | ||
![]()  | inMaxDistance | Atl.Optional<int> | <0, INF> | 5 | Default value: 5. | 
![]()  | inDistanceBalance | float | <-1.0f, 1.0f> | Defines how much important the distance between regions in x coordinate is according to distance in y coordinate. | |
![]()  | inMaxJointDiameter | Atl.Optional<float> | <0.0f, INF> | ||
![]()  | inMaxJointWidth | Atl.Optional<int> | <0, INF> | ||
![]()  | inMaxJointHeight | Atl.Optional<int> | <0, INF> | ||
![]()  | inRemoveBoundaryBlobs | bool | False | Flag indicating whether the blobs on border of the input region should be removed or not. Default value: False. | |
![]()  | outComponents | Atl.Conditional<System.Collections.Generic.List<Avl.Region>> | 


