Entity.FindClosestTriangle (Transformation, Segment3D, IList<Point3D>, IList<IndexTriangle>, Int32, Int32, Int32, SortedList<DoubleHitTriangle>) Method

Finds the triangles intersecting the seg segment and puts them in the triList.
Protected Friend 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) _ 
)
This language is not supported or no code example is available.
internal protected virtual void FindClosestTriangle( 
Transformation transf
Segment3D seg
IList<Point3D> vertices
IList<IndexTriangle> triangles
int faceIndex
int paramFaceIndex
int shellIndex
SortedList<double, HitTriangle> triList 
)
This language is not supported or no code example is available.

Parameters

transf
Transformation

The transformation applied to the segment (inverse transformation) and to the resulting points (original transformation)

seg
Segment3D

The segment to intersect

vertices
IList<Point3D>

The vertices collection

triangles
IList<IndexTriangle>

The triangles collection

faceIndex
int

The face index (Brep only)

paramFaceIndex
int

The parametric surface index (Brep only)

shellIndex
int

The shell index (Brep only)

triList
SortedList<double, HitTriangle>

The list of intersecting triangles, sorted by the distance of the intersection point from the first point of seg

.NET Framework

Supported in: 4.8

In this article

Definition