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

AVS.SurfaceMedian_OrNil Method

Finds the median Z coordinate of the surface points; returns NIL if the surface is empty in the given region.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void SurfaceMedian_OrNil
(
	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.
outMedianfloat?Median Z coordinate of the surface points.

Function Overrides

See also