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

AVL.SurfaceMedian

Finds the median Z coordinate of the surface.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void SurfaceMedian
(
	AvlNet.Surface inSurface,
	NullableRef<AvlNet.Region> inRoi,
	out float outMedian
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.SurfaceInput surface.
inRoiAvlNet.NullableRef<AvlNet.Region>Region of interest. Default value: atl::NIL.
outMedianfloatMedian Z coordinate of the surface points.

Errors

List of possible exceptions:

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

Function Overrides

See also