Back to Adaptive Vision Library website

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

ShiftPath


Header:AVL.h
Namespace:avl

Moves every vertex of path along bisector of the angle between incident segments.

Syntax

C++
C#
 
void avl::ShiftPath
(
	const avl::Path& inPath,
	float inDistance,
	avl::ShiftDirection::Type inDirection,
	avl::Path& outPath
)

Parameters

Name Type Default Description
inPath const Path& Input path
inDistance float
inDirection ShiftDirection::Type
outPath Path& Output path

In-place Processing

This function supports in-place data processing - you can pass the same reference to inPath and outPath

Read more about In-place Computation.