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

AVS.SurfaceVolume_Single Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void SurfaceVolume_Single
(
	AvlNet.Surface inSurface,
	double inZ,
	NullableRef<AvlNet.Region> inRoi,
	AvlNet.VolumeCalculationMethod inVolumeCalculationMethod,
	out double outVolume,
	out AvlNet.Plane3D outPlane
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.SurfaceInput surface.
inZdoubleThe volume is calculated with respect to the plane Z = inZ.
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.
outPlaneAvlNet.Plane3DThe plane defined as Z = inZ.

Function Overrides

See also