Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / Entity Class / FindClosestTriangle Method / FindClosestTriangle(Transformation,Segment3D,IList<Point3D>,IList<IndexTriangle>,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,IList<Point3D>,IList<IndexTriangle>,Int32,Int32,Int32,SortedList<Double,HitTriangle>) Method
    In This Topic
    Finds the triangles intersecting the seg segment and puts them in the triList.
    Syntax
    'Declaration
     
    Protected Friend Overloads Overridable Sub FindClosestTriangle( _
       ByVal transf As Transformation, _
       ByVal seg As Segment3D, _
       ByVal vertices As IList(Of Point3D), _
       ByVal triangles As IList(Of IndexTriangle), _
       ByVal faceIndex As Integer, _
       ByVal paramFaceIndex As Integer, _
       ByVal shellIndex As Integer, _
       ByVal triList As SortedList(Of Double,HitTriangle) _
    ) 
    protected internal virtual void FindClosestTriangle( 
       Transformation transf,
       Segment3D seg,
       IList<Point3D> vertices,
       IList<IndexTriangle> 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