Back to Adaptive Vision Library website

You are here: Start » Function Reference » Path Spatial Transforms » InflatePath

InflatePath


Header:AVL.h
Namespace:avl

Enlarges a shape by a given margin (points in the input path must be sorted clockwise)

Syntax

C++
C#
 
void avl::InflatePath
(
	const avl::Path& inPath,
	float inMargin,
	float inMaxPointDisplacement,
	atl::Conditional<avl::Path>& outPath
)

Parameters

Name Type Range Default Description
inPath const Path& Input path
inMargin float
inMaxPointDisplacement float 0.0 - 1000.0f
outPath Conditional<Path>& Output path