Back to Aurora Vision Library website

You are here: Start » Function Reference » Region » Region Spatial Transforms » EnlargeRegionNTimes

EnlargeRegionNTimes


Header: AVL.h
Namespace: avl
Module: FoundationBasic

Enlarges a region by a natural factor.

Syntax

C++
C#
 
void avl::EnlargeRegionNTimes
(
	const avl::Region& inRegion,
	int inN,
	avl::Region& outRegion
)

Parameters

Name Type Range Default Description
Input value inRegion const Region& Input region
Input value inN int 1 - 2 The scaling coefficient
Output value outRegion Region& Output region

Examples

EnlargeRegionNTimes performed on the sample region.

Errors

List of possible exceptions:

Error type Description
DomainError Input and output regions are not distinct in EnlargeRegionNTimes.
DomainError Output region too big in EnlargeRegionNTimes.