Back to Aurora Vision Library website

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

FindLongestSubpath


Header: AVL.h
Namespace: avl
Module: FoundationPro

Creates a new path from the longest sequence of segments of the input path that turn gently.

Applications: Can be used for removing noise.

Syntax

C++
C#
 
void avl::FindLongestSubpath
(
	const avl::Path& inPath,
	float inMaxTurnAngle,
	avl::Path& outPath
)

Parameters

Name Type Range Default Description
Input value inPath const Path& Input path, possibly noised
Input value inMaxTurnAngle float 0.0 - 180.0 30.0f Maximum angle between two consecutive segments in the output path
Output value outPath Path& Output path