Back to Adaptive Vision Library website

You are here: Start » Function Reference » Region Basics » CreateBoxBorderRegion

CreateBoxBorderRegion


Creates a frame-shaped region with given parameters.

Syntax

C++
C#
 
void avl::CreateBoxBorderRegion
(
	const avl::Box& inBox,
	int inBorderWidth,
	avl::BorderPosition::Type inBorderPosition,
	int inFrameWidth,
	int inFrameHeight,
	avl::Region& outRegion
)

Parameters

Name Type Range Default Description
inBox const Box&
inBorderWidth int 0 - 1
inBorderPosition BorderPosition::Type Centered
inFrameWidth int 0 - Width of the created region's frame
inFrameHeight int 0 - Height of the created region's frame
outRegion Region& Output region

Errors

Error type Description
DomainError Incorrect BorderPosition in CreateBoxBorderRegion.