DicomObjects.NET.V8
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 Point3D _
    ) As Double
    'Usage
     
    Dim instance As Plane3D
    Dim Point As Point3D
    Dim value As Double
     
    value = instance.GetDistance(Point)
    public double GetDistance( 
       Point3D Point
    )
    public:
    double GetDistance( 
       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.0 or higher

    See Also