You are here: Start » AVL.NET » AVL.CropSurfaceToRegion Method

AVL.CropSurfaceToRegion Method

Removes points that are not present in a given region.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void CropSurfaceToRegion(
	AvlNet.Surface inSurface,
	AvlNet.Region inRegion,
	out AvlNet.Surface outSurface
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.SurfaceInput surface.
inRegionAvlNet.RegionRegion from which the points are not removed.
outSurfaceAvlNet.SurfaceOutput surface.

Errors

Error type Description
DomainError Input region exceeds surface dimensions in CropSurfaceToRegion.

See also