You are here: Start » AVL.NET » Invoke.SurfaceMedian_OrNil
Finds the median Z coordinate of the surface points; returns NIL if the surface is empty in the given region.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void SurfaceMedian_OrNil ( Avl.Surface inSurface, Optional<Avl.Region> inRoi, Conditional<float> outMedian )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inSurface | Avl.Surface | Input surface. | ||
![]()  | inRoi | Atl.Optional<Avl.Region> | Region of interest. Default value: atl::NIL. | ||
![]()  | outMedian | Atl.Conditional<float> | Median Z coordinate of the surface points. | 


