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 | |
|---|---|---|---|---|
![]() |
inSurface | Surface | Input surface | |
![]() |
inZ | float | The volume is calculated with respect to the plane Z = inZ | |
![]() |
inRoi | Region | None | None | Range of pixels to be processed |
![]() |
inVolumeCalculationMethod | VolumeCalculationMethod | Determines how the parts of a volume are added up | |
![]() |
outVolume | float | Volume of the input surface | |
![]() |
outPlane | Plane3D | None | None | The plane defined as Z = inZ |


