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

AVL.CloseSurfacePoints

Reconstructs missing points of the input surface by interpolating neighboring points.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void CloseSurfacePoints
(
	AvlNet.Surface inSurface,
	AvlNet.KernelShape inKernel,
	int inRadiusX,
	AvlNet.Surface outSurface
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.SurfaceInput surface.
inKernelAvlNet.KernelShapeKernel shape (predefined).
inRadiusXint<0, INF>1Nearly half of the kernel's width (2*R+1). Default value: 1.
outSurfaceAvlNet.SurfaceOutput surface.

Description

The operation reconstructs some of missing points of the input surface by interpolating their neighboring points. Internally the region of surface valid points is closed using defined kernel. Every missing point in location that have emerged because of the closing is substituted with the arithmetic mean of existing points in locations that would be covered by the kernel if the middle of the kernel was precisely over the missing point location.

Errors

List of possible exceptions:

Error type Description
DomainError Region of interest exceeds an input surface in CloseSurfacePoints.

Function Overrides

See also