DicomObjects.NET.V8
DicomObjects Namespace / DicomImage3D Class / DistanceToFarVertex Method
Selects which direction to look.



In This Topic
    DistanceToFarVertex Method
    In This Topic
    Find distance to the furthest vertex of the volume
    Syntax
    'Declaration
     
    Public Function DistanceToFarVertex( _
       ByVal Forward As Boolean _
    ) As Single
    'Usage
     
    Dim instance As DicomImage3D
    Dim Forward As Boolean
    Dim value As Single
     
    value = instance.DistanceToFarVertex(Forward)
    public float DistanceToFarVertex( 
       bool Forward
    )
    public:
    float DistanceToFarVertex( 
       bool Forward
    ) 

    Parameters

    Forward
    Selects which direction to look.

    Return Value

    distance to the verex in mm
    Remarks

    The measurement is from the current view plane.

    If Forward is true, then the distance is that from the current plane to the vertex furthest "into the screen" (reached by calling TranslateNormal with a positive value)

    If Forward is false, then the distance is that from the current plane to the vertex furthest "out of the screen" (reached by calling TranslateNormal with a negative value)

    If the current plane intersects the volume, then both the forward and backward values will be positive.

    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also