DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / Plane3D Structure / GetDistance Method
The point being measured from






In This Topic
    GetDistance Method
    In This Topic
    Distance of a point from the plane
    Syntax
    'Declaration
     
    
    Public Function GetDistance( _
       ByVal Point As System.Windows.Media.Media3D.Point3D _
    ) As System.Double
    'Usage
     
    
    Dim instance As Plane3D
    Dim Point As System.Windows.Media.Media3D.Point3D
    Dim value As System.Double
     
    value = instance.GetDistance(Point)
    public System.double GetDistance( 
       System.Windows.Media.Media3D.Point3D Point
    )
    public function GetDistance( 
        Point: System.Windows.Media.Media3D.Point3D
    ): System.Double; 
    public function GetDistance( 
       Point : System.Windows.Media.Media3D.Point3D
    ) : System.double;
    public: System.double GetDistance( 
       System.Windows.Media.Media3D.Point3D Point
    ) 
    public:
    System.double GetDistance( 
       System.Windows.Media.Media3D.Point3D Point
    ) 

    Parameters

    Point
    The point being measured from

    Return Value

    The distance
    Remarks
    This is a psuedo-distance. The sign of the return value is positive if the point is on the positive side of the plane, negative if the point is on the negative side, and zero if the point is on the plane. The absolute value of the return value is the true distance only when the plane normal is a unit length vector.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also