You are here: Start » FIL.NET » Function Reference » Surface » Surface Features » FIL.SurfaceVolume_Single
Computes the volume of a surface with respect to a plane.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void SurfaceVolume_Single ( FilNet.Surface inSurface, double inZ, NullableRef<FilNet.Region> inRoi, FilNet.VolumeCalculationMethod inVolumeCalculationMethod, out double outVolume )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSurface | FilNet.Surface | Input surface. | ||
![]() | inZ | double | The volume is calculated with respect to the plane Z = inZ. | ||
![]() | inRoi | FilNet.NullableRef<FilNet.Region> | Range of pixels to be processed. Default value: ftl::NIL. | ||
![]() | inVolumeCalculationMethod | FilNet.VolumeCalculationMethod | Determines how the parts of a volume are added up. | ||
![]() | outVolume | double | Volume of the input surface. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Region of interest exceeds an input surface in SurfaceVolume_Single. |
DomainError | Unsupported inVolumeCalculationMethod in SurfaceVolume_Single. |
Function Overrides
- SurfaceVolume_Single(Surface, Double, VolumeCalculationMethod, Double)
- SurfaceVolume_Single(Surface, Double, NullableRef<Region>, VolumeCalculationMethod, Double, Plane3D)
- SurfaceVolume_Single(Surface, Double, NullableRef<Region>, VolumeCalculationMethod, Double, NullableValue<Plane3D>)