DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImage Class / DistanceFromPoint Method
The reference point
Frame within the image being used for calculation






    DistanceFromPoint Method
    Perpendicular distance from a Point to the plane of this image
    Syntax
    'Declaration
     
    
    Public Overridable Function DistanceFromPoint( _
       ByVal Point As System.Windows.Media.Media3D.Point3D, _
       ByVal Frame As System.Integer _
    ) As System.Nullable(Of Single)
     
    'Usage
     
    
    Dim instance As DicomImage
    Dim Point As System.Windows.Media.Media3D.Point3D
    Dim Frame As System.Integer
    Dim value As System.Nullable(Of Single)
     
    value = instance.DistanceFromPoint(Point, Frame)

    Parameters

    Point
    The reference point
    Frame
    Frame within the image being used for calculation

    Return Value

    Distance in mm
    Remarks
    The distance may be positive/negative
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also