You are here: Start » AVL.NET » Function Reference » Surface » Surface Spatial Transforms » 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, AvlNet.Surface outSurface )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inSurface1 | AvlNet.Surface | First input surface. | ||
![]() | inSurface2 | AvlNet.Surface | Second input surface. | ||
![]() | outSurface | AvlNet.Surface | Output 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. |


