Back to Adaptive Vision Library website

You are here: Start » Function Reference » Surface Features » SurfaceMedian_OrNil

SurfaceMedian_OrNil


Header:AVL.h
Namespace:avl

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

Syntax

C++
C#
 
void avl::SurfaceMedian_OrNil
(
	const avl::Surface& inSurface,
	atl::Optional<const avl::Region&> inRoi,
	atl::Conditional<float>& outMedian
)

Parameters

Name Type Default Description
inSurface const Surface& Input surface
inRoi Optional<const Region&> NIL Region of interest
outMedian Conditional<float>& Median Z coordinate of the surface points