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

AVL.JoinSurfaces

Combines two surfaces into one.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void JoinSurfaces
(
	AvlNet.Surface inSurface1,
	AvlNet.Surface inSurface2,
	AvlNet.Surface outSurface
)

Parameters

Name Type Range Default Description
inSurface1AvlNet.SurfaceFirst input surface to join.
inSurface2AvlNet.SurfaceSecond input surface to join.
outSurfaceAvlNet.SurfaceCombination 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.

See also