Back to Aurora Vision Library website

You are here: Start » Function Reference » Profile » Profile Basics » CreateUniformProfile

CreateUniformProfile


Header: AVL.h
Namespace: avl
Module: FoundationPro

Creates a profile with all its elements set to the same value.

Syntax

C++
C#
 
void avl::CreateUniformProfile
(
	float inValue,
	int inSize,
	float inXOffset,
	float inXScale,
	avl::Profile& outProfile
)

Parameters

Name Type Range Default Description
Input value inValue float Input common value of all elements
Input value inSize int 0 - + 1 Input the number of elements
Input value inXOffset float 0.0f X offset of the output profile
Input value inXScale float 0.001 - 1.0f X scale of the output profile
Output value outProfile Profile& Output profile