You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
inSurface1 | AvlNet.Surface | First input surface. | |||
inSurface2 | AvlNet.Surface | Second input surface. | |||
inRoi | AvlNet.NullableRef<AvlNet.Region> | Region of interest. Default value: atl::NIL. | |||
outSurface | AvlNet.Surface | Output surface. |
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. |