ResizeProfile


Changes the size of a profile, preserving its shape.

Syntax

C++
C#
Python
 
def ResizeProfile(
	inProfile: Profile,
	inNewSize: int,
	outProfile: Profile,
	/,
	*,
	inInterpolation: ResizeProfileInterpolation = ResizeProfileInterpolation.NearestNeighbour
)
-> None

Parameters

Name Type Range Default Description
Input value inProfile Profile Input profile
Input value inNewSize int 1 -
Input value inInterpolation ResizeProfileInterpolation ResizeProfileInterpolation.NearestNeighbour
Output value outProfile Profile Output profile