You are here: Start » AVL.NET » Function Reference » Surface » Surface Basics » AVL.SkipEmptySurfaceRegion

AVL.SkipEmptySurfaceRegion

If the input surface contains at least one valid point in a given region, then the region is copied to the output; otherwise Nil is returned.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void SkipEmptySurfaceRegion
(
	AvlNet.Surface inSurface,
	AvlNet.Region inRegion,
	INullable<AvlNet.Region> outNotEmptySurfaceRegion,
	out bool outIsNotEmpty
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.Surface
inRegionAvlNet.RegionInput region.
outNotEmptySurfaceRegionAvlNet.INullable<AvlNet.Region> This parameter cannot be null.
outIsNotEmptybool

Errors

List of possible exceptions:

Error type Description
DomainError Input region frame exceeds the input surface frame in SkipEmptySurfaceRegion.

See also