You are here: Start » FIL.NET » Function Reference » Surface » Surface Features » FIL.SurfaceVolume_Double
Computes the volume of a surface with respect to another surface.
| Namespace: | FilNet |
|---|---|
| Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void SurfaceVolume_Double ( FilNet.Surface inTopSurface, FilNet.Surface inBottomSurface, FilNet.VolumeCalculationMethod inVolumeCalculationMethod, out double outVolume )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inTopSurface | FilNet.Surface | The top surface. | ||
![]() | inBottomSurface | FilNet.Surface | The bottom surface. | ||
![]() | 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 | 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. |


