Back to Aurora Vision Library website

You are here: Start » Function Reference » Path » Path Global Transforms » DilatePolygon

DilatePolygon


Header: AVL.h
Namespace: avl
Module: FoundationBasic

Enlarges a polygon by a given radius.

Syntax

C++
C#
 
void avl::DilatePolygon
(
	const avl::Path& inPolygon,
	float inRadius,
	bool inRasterMode,
	avl::Path& outPolygon
)

Parameters

Name Type Default Description
Input value inPolygon const Path& Input polygon
Input value inRadius float 1.0f
Input value inRasterMode bool False
Output value outPolygon Path& Output polygon

Errors

List of possible exceptions:

Error type Description
DomainError Open path on input in DilatePolygon.