You are here: Start » AVL.NET » AVL.SurfaceMedian Method

AVL.SurfaceMedian Method

Finds the median Z coordinate of the surface.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void SurfaceMedian(
	AvlNet.Surface inSurface,
	AvlNet.Region inRoi,
	out float outMedian
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.SurfaceInput surface.
inRoiAvlNet.RegionRegion of interest. Default value: atl::NIL, or null.
outMedianfloatMedian Z coordinate of the surface points.

Errors

Error type Description
DomainError No valid point in given region in SurfaceMedian.

See also