You are here: Start » AVL.NET » Function Reference » Surface » Surface Basics » AVL.AlignRegionToSurfaceFormat
Returns region covering the same area for the surface with another format.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void AlignRegionToSurfaceFormat ( AvlNet.Region inRegion, AvlNet.SurfaceCoordinatesFormat inInputSurfaceCoordinatesFormat, AvlNet.SurfaceFormat inOutputSurfaceFormat, AvlNet.Region outAlignedRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inRegion | AvlNet.Region | Input region. | |||
inInputSurfaceCoordinatesFormat | AvlNet.SurfaceCoordinatesFormat | Offsets and scales on X and Y axes of the surface associated with the image the input region were defined on. | |||
inOutputSurfaceFormat | AvlNet.SurfaceFormat | Format of the surface associated with the image the output region is defined on. | |||
outAlignedRegion | AvlNet.Region |