You are here: Start » AVL.NET » Function Reference » Surface » Surface Features » AVL.SurfaceVolume_Double

AVL.SurfaceVolume_Double

Computes the volume of a surface with respect to another surface.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void SurfaceVolume_Double
(
	AvlNet.Surface inTopSurface,
	AvlNet.Surface inBottomSurface,
	NullableRef<AvlNet.Region> inRoi,
	AvlNet.VolumeCalculationMethod inVolumeCalculationMethod,
	out double outVolume
)

Parameters

Name Type Range Default Description
inTopSurfaceAvlNet.SurfaceThe top surface.
inBottomSurfaceAvlNet.SurfaceThe bottom surface.
inRoiAvlNet.NullableRef<AvlNet.Region>Range of pixels to be processed. Default value: atl::NIL.
inVolumeCalculationMethodAvlNet.VolumeCalculationMethodDetermines how the parts of a volume are added up.
outVolumedoubleVolume of the input surface.

Errors

List of possible exceptions:

Error type Description
DomainError Different surface dimensions between inTopSurface and inBottomSurface in SurfaceVolume_Double.
DomainError Different surface scales or offsets between inTopSurface and inBottomSurface in SurfaceVolume_Double.
DomainError Different surface types between inTopSurface and inBottomSurface in SurfaceVolume_Double.
DomainError Region of interest exceeds an input surface in SurfaceVolume_Double.
DomainError Unsupported inVolumeCalculationMethod in SurfaceVolume_Double.

Function Overrides

See also