Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / FemMesh Class / FindClosestTriangle Method / FindClosestTriangle(Transformation,Segment3D) Method
The transformation applied to the entity (necessary if the entity is inside a Block to propagate the BlockReference transformation)
The 3D segment representing the viewing direction

In This Topic
    FindClosestTriangle(Transformation,Segment3D) Method
    In This Topic
    Returns a list of triangles hit by the provided segment.
    Syntax
    'Declaration
     
    Public Overloads Function FindClosestTriangle( _
       ByVal transf As Transformation, _
       ByVal seg As Segment3D _
    ) As IList(Of HitTriangle)
    public IList<HitTriangle> FindClosestTriangle( 
       Transformation transf,
       Segment3D seg
    )

    Parameters

    transf
    The transformation applied to the entity (necessary if the entity is inside a Block to propagate the BlockReference transformation)
    seg
    The 3D segment representing the viewing direction

    Return Value

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