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



In This Topic
    DistanceFromPoint Method
    In This Topic
    Perpendicular distance from a Point to the plane of this image
    Syntax
    'Declaration
     
    Public Overridable Function DistanceFromPoint( _
       ByVal Point As Point3D, _
       ByVal Frame As Integer _
    ) As Nullable(Of Single)
    'Usage
     
    Dim instance As DicomImage
    Dim Point As Point3D
    Dim Frame As Integer
    Dim value As Nullable(Of Single)
     
    value = instance.DistanceFromPoint(Point, Frame)
    public virtual Nullable<float> DistanceFromPoint( 
       Point3D Point,
       int Frame
    )
    public:
    virtual Nullable<float> DistanceFromPoint( 
       Point3D Point,
       int 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.0 or higher

    See Also