VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Dicom.Mpr Namespace / MprPlanarSlice Class / GetDistance(MprPlanarSlice,MprPlanarSlice) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
GetDistance(MprPlanarSlice,MprPlanarSlice) Method (MprPlanarSlice)
In This Topic
Returns the distance between two parallel MPR planar slices.
Syntax
'Declaration

Public Shared Function GetDistance( _
ByVal slice1
The first MPR planar slice.
As MprPlanarSlice, _
ByVal slice2
The second MPR planar slice.
As MprPlanarSlice _
) As Double
public static double GetDistance(
MprPlanarSlice slice1,
MprPlanarSlice slice2
)

Parameters

slice1
The first MPR planar slice.
slice2
The second MPR planar slice.

Return Value

Distance between slices.
Exceptions
ExceptionDescription
Thrown if slice1 or slice2 is null.
Thrown if MPR planar slices are not parallel.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also