Back to FabImage Library website
You are here: Start » Function Reference » Surface » Surface Spatial Transforms » JoinSurfaces

JoinSurfaces
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DStandard |
Combines two surfaces into one.
Syntax
C++
C#
void fil::JoinSurfaces ( const fil::Surface& inSurface1, const fil::Surface& inSurface2, fil::Surface& outSurface )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inSurface1 | const Surface& | First input surface to join | |
![]() |
inSurface2 | const Surface& | Second input surface to join | |
![]() |
outSurface | Surface& | Combination of two input surfaces |
Remarks
The joined surfaces must be compatible. Their scales must be equal and the difference between the corresponding offsets must be equal to the multiple of the related scale.
The filter will return the mean of the points where the surfaces overlap each other.
The filter will return the mean of the points where the surfaces overlap each other.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Different axis scales in JoinSurfaces. |
DomainError | Different Surface types in JoinSurfaces. |
DomainError | Incompatible axis offsets in JoinSurfaces. |