You are here: Start » AVL.NET » Function Reference » Surface » Surface Spatial Transforms » AVL.SubtractSurfaces

AVL.SubtractSurfaces

Subtracts two surfaces point by point.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void SubtractSurfaces
(
	AvlNet.Surface inSurface1,
	AvlNet.Surface inSurface2,
	NullableRef<AvlNet.Region> inRoi,
	AvlNet.Surface outSurface
)

Parameters

Name Type Range Default Description
inSurface1AvlNet.SurfaceFirst input surface.
inSurface2AvlNet.SurfaceSecond input surface.
inRoiAvlNet.NullableRef<AvlNet.Region>Region of interest. Default value: atl::NIL.
outSurfaceAvlNet.SurfaceOutput 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 Different surface dimensions in SubtractSurfaces.
DomainError Different surface scales or offsets in SubtractSurfaces.
DomainError Different surface types in SubtractSurfaces.
DomainError Region of interest exceeds an input surface in SubtractSurfaces.

Function Overrides

See also