You are here: Start » AVL.NET » Function Reference » ShapeRegion » Shape Region Morphology » AVL.ErodeShapeRegion

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
inShapeRegionAvlNet.ShapeRegion
inRadiusfloat<0.0f, INF>1.0fDefault value: 1.0f.
outShapeRegionAvlNet.ShapeRegion

Errors

List of possible exceptions:

Error type Description
DomainError Unable to create Polygon from ShapeRegion in ErodeShapeRegion.

See also