You are here: Start » AVL.NET » AVS.AlignRegionToSurfaceCoordinatesFormat Method

AVS.AlignRegionToSurfaceCoordinatesFormat Method

Returns region covering the same area for the surface with another coordinates format.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void AlignRegionToSurfaceCoordinatesFormat
(
	AvlNet.Region inRegion,
	AvlNet.SurfaceCoordinatesFormat inInputSurfaceCoordinatesFormat,
	AvlNet.SurfaceCoordinatesFormat inOutputSurfaceCoordinatesFormat,
	int? inFrameWidth,
	int? inFrameHeight,
	AvlNet.Region outAlignedRegion
)

Parameters

Name Type Range Default Description
inRegionAvlNet.RegionInput region.
inInputSurfaceCoordinatesFormatAvlNet.SurfaceCoordinatesFormatOffsets and scales on X and Y axes of the surface associated with the image the input region were defined on.
inOutputSurfaceCoordinatesFormatAvlNet.SurfaceCoordinatesFormatOffsets and scales on X and Y axes of the surface associated with the image the output region is defined on.
inFrameWidthint?Output region's frame width. Default value: atl::NIL.
inFrameHeightint?Output region's frame height. Default value: atl::NIL.
outAlignedRegionAvlNet.Region

See also