Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / Entity Class / FindClosestTriangle Method / FindClosestTriangle(Transformation,Segment3D,Single[],Int32[],Int32,Int32,Int32,SortedList<Double,HitTriangle>) Method
The transformation applied to the segment (inverse transformation) and to the resulting points (original transformation)
The segment to intersect
The vertices collection
The triangles collection
The face index (Solid3D only)
The parametric surface index (Solid3D only)
The shell index (Solid3D only)
The list of intersecting triangles, sorted by the distance of the intersection point from the first point of seg

In This Topic
    FindClosestTriangle(Transformation,Segment3D,Single[],Int32[],Int32,Int32,Int32,SortedList<Double,HitTriangle>) Method
    In This Topic
    Finds the closest triangle using float arrays for vertices and int arrays for triangles.
    Syntax
    'Declaration
     
    Protected Overloads Sub FindClosestTriangle( _
       ByVal transf As Transformation, _
       ByVal seg As Segment3D, _
       ByVal vertices() As Single, _
       ByVal triangles() As Integer, _
       ByVal faceIndex As Integer, _
       ByVal paramFaceIndex As Integer, _
       ByVal shellIndex As Integer, _
       ByVal triList As SortedList(Of Double,HitTriangle) _
    ) 
    protected void FindClosestTriangle( 
       Transformation transf,
       Segment3D seg,
       float[] vertices,
       int[] triangles,
       int faceIndex,
       int paramFaceIndex,
       int shellIndex,
       SortedList<double,HitTriangle> triList
    )

    Parameters

    transf
    The transformation applied to the segment (inverse transformation) and to the resulting points (original transformation)
    seg
    The segment to intersect
    vertices
    The vertices collection
    triangles
    The triangles collection
    faceIndex
    The face index (Solid3D only)
    paramFaceIndex
    The parametric surface index (Solid3D only)
    shellIndex
    The shell index (Solid3D only)
    triList
    The list of intersecting triangles, sorted by the distance of the intersection point from the first point of seg
    See Also