Back to FabImage Library website

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

SurfaceMedian_OrNil


Header:FIL.h
Namespace:fil

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

Syntax

C++
C#
 
void fil::SurfaceMedian_OrNil
(
	const fil::Surface& inSurface,
	ftl::Optional<const fil::Region&> inRoi,
	ftl::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