SurfaceVolume_Single


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

Syntax

C++
C#
Python
 
def SurfaceVolume_Single(
	inSurface: Surface,
	inZ: float,
	inVolumeCalculationMethod: VolumeCalculationMethod,
	/,
	*,
	inRoi: Region | None = None,
	outPlane: Plane3D | None = None
)
-> outVolume: float

Parameters

Name Type Default Description
Input value inSurface Surface Input surface
Input value inZ float The volume is calculated with respect to the plane Z = inZ
Input value inRoi Region | None None Range of pixels to be processed
Input value inVolumeCalculationMethod VolumeCalculationMethod Determines how the parts of a volume are added up
Output value outVolume float Volume of the input surface
Output value outPlane Plane3D | None None The plane defined as Z = inZ