Back to Aurora Vision Library website

You are here: Start » Function Reference » Profile » Profile Spatial Transforms » RotateProfile

RotateProfile


Header: AVL.h
Namespace: avl
Module: FoundationPro

Moves the last element ahead of the first one (inShift times).

Syntax

C++
C#
 
void avl::RotateProfile
(
	const avl::Profile& inProfile,
	const int inShift,
	avl::Profile& outProfile
)

Parameters

Name Type Default Description
Input value inProfile const Profile& Input profile
Input value inShift const int 0
Output value outProfile Profile& Output profile

Description

Operation computes the profile of input profile elements shifted cyclically.

Examples

Input profile

Output profile1

RotateProfile performed on input profile with inShift = 20 produced outProfile = Output profile1

Output profile2

Output profile3

RotateProfile performed on input profile with inShift = 40 produced outProfile = Output profile2 and operation performed on the same input profile with inShift = 60 produced outProfile = Output profile3