You are here: Start » AVL.NET » Function Reference » Region » Region Features » AVL.RegionHoles_Elastic

AVL.RegionHoles_Elastic

Fills a ridges region with convex basins.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RegionHoles_Elastic
(
	AvlNet.Region inRegion,
	int inDistanceThreshold,
	IList<AvlNet.Region> outBasins
)

Parameters

Name Type Range Default Description
inRegionAvlNet.RegionInput region.
inDistanceThresholdint5Default value: 5.
outBasinsSystem.Collections.Generic.IList<AvlNet.Region>

Description

This filter fills a regions holes with convex basins based on a flooding algorithm.

The parameter inDistanceThreshold can be used to ignore smaller holes of the input region.

Examples

Example region

Computed region holes

Computed region holes where the threshold has been increased to ignore the smaller hole

Function Overrides

See also