You are here: Start » AVL.NET » Function Reference » ShapeRegion » Shape Region Morphology » AVL.ErodeShapeRegion
Performs a morphological erosion on a shape region.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void ErodeShapeRegion ( AvlNet.ShapeRegion inShapeRegion, float inRadius, AvlNet.ShapeRegion outShapeRegion )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inShapeRegion | AvlNet.ShapeRegion | |||
![]() | inRadius | float | <0.0f, INF> | 1.0f | Default value: 1.0f. |
![]() | outShapeRegion | AvlNet.ShapeRegion |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Unable to create Polygon from ShapeRegion in ErodeShapeRegion. |


