You are here: Start » AVL.NET » AVS.CropSurface_Relative Method

AVS.CropSurface_Relative Method

Removes from the surface points that are relatively too distant from their average neighbor points in a local rectangular neighborhood.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void CropSurface_Relative
(
	AvlNet.Surface inSurface,
	AvlNet.Surface inBaseSurface,
	float? inMinRelativeHeight,
	float? inMaxRelativeHeight,
	float inHysteresis,
	bool inPreserveDimensions,
	AvlNet.Surface outSurface
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.SurfaceInput surface.
inBaseSurfaceAvlNet.SurfaceHeights of this surface are subtracted from inSurface heights before crop.
inMinRelativeHeightfloat?Minimum relative height of a point to be not removed. Default value: atl::NIL.
inMaxRelativeHeightfloat?Maximum relative height of a point to be not removed. Default value: atl::NIL.
inHysteresisfloat<0.0f, INF>0.0fDefines how much the threshold criteria are lowered for points neighboring with other not removed points. Default value: 0.0f.
inPreserveDimensionsboolFalseFlag indicating whether the surface dimensions should be preserved or not. Default value: False.
outSurfaceAvlNet.Surface

Function Overrides

See also