DicomObjects.NET.8.48 Documentation
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 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)
    public virtual System.Nullable<float> DistanceFromPoint( 
       System.Windows.Media.Media3D.Point3D Point,
       System.int Frame
    )
    public function DistanceFromPoint( 
        Point: System.Windows.Media.Media3D.Point3D;
        Frame: System.Integer
    ): System.Nullable; virtual; 
    public function DistanceFromPoint( 
       Point : System.Windows.Media.Media3D.Point3D,
       Frame : System.int
    ) : System.Nullable;
    public: virtual System.Nullable<float> DistanceFromPoint( 
       System.Windows.Media.Media3D.Point3D Point,
       System.int Frame
    ) 
    public:
    virtual System.Nullable<float> DistanceFromPoint( 
       System.Windows.Media.Media3D.Point3D Point,
       System.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.8 or higher

    See Also