You are here: Start » AVL.NET » Function Reference » Surface » Surface Interpolations » AVL.ResampleSurface

AVL.ResampleSurface

Equalizes the scales format of the input surface.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void ResampleSurface
(
	AvlNet.Surface inSurface,
	AvlNet.ResampleSurfaceMode inResampleSurfaceMode,
	double? inXOffset,
	double? inYOffset,
	AvlNet.Surface outSurface
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.Surface
inResampleSurfaceModeAvlNet.ResampleSurfaceMode
inXOffsetdouble?Offset for the X axis of the output surface. Default value: atl::NIL.
inYOffsetdouble?Offset for the Y axis of the output surface. Default value: atl::NIL.
outSurfaceAvlNet.Surface

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Hardware acceleration settings may be manipulated with Settings class.

Errors

List of possible exceptions:

Error type Description
DomainError Incorrect resample mode in ResampleSurface.

Function Overrides

See also