Eyeshot 9.0 WinForms API Reference
FindClosestTriangle(Transformation,Segment3D) Method

WinForms Assembly > devDept.Eyeshot.Entities Namespace > Solid3D 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
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

Reference

Solid3D Class
Solid3D Members
Overload List