Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / BlockReference Class / FindClosestTriangle Method / FindClosestTriangle(Segment3D,BlockKeyedCollection) Method
The 3D segment
The viewportLayout's Block collection

In This Topic
    FindClosestTriangle(Segment3D,BlockKeyedCollection) Method
    In This Topic
    Returns a list of HitTriangle that intersect with the provided segment.
    Syntax
    'Declaration
     
    Public Overloads Function FindClosestTriangle( _
       ByVal seg As Segment3D, _
       ByVal blocks As BlockKeyedCollection _
    ) As IList(Of HitTriangle)
    public IList<HitTriangle> FindClosestTriangle( 
       Segment3D seg,
       BlockKeyedCollection blocks
    )

    Parameters

    seg
    The 3D segment
    blocks
    The viewportLayout's Block collection

    Return Value

    The sorted list of HitTriangles intersecting the provided segment.
    See Also