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

AVL.RotateProfile

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RotateProfile
(
	AvlNet.Profile inProfile,
	int inShift,
	AvlNet.Profile outProfile
)

Parameters

Name Type Range Default Description
inProfileAvlNet.ProfileInput profile.
inShiftint0Default value: 0.
outProfileAvlNet.ProfileOutput 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

See also