Back to Adaptive Vision Library website

You are here: Start » Function Reference » Surface » Surface Spatial Transforms » JoinSurfaces

JoinSurfaces


Header: AVL.h
Namespace: avl
Module: Vision3DStandard

Combines two surfaces into one.

Syntax

C++
C#
 
void avl::JoinSurfaces
(
	const avl::Surface& inSurface1,
	const avl::Surface& inSurface2,
	avl::Surface& outSurface
)

Parameters

Name Type Default Description
Input value
inSurface1 const Surface& First input surface to join
Input value
inSurface2 const Surface& Second input surface to join
Output value
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.

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.