Entity.FindClosestTriangle (Transformation, Segment3D, Single(), Int32(), Int32, Int32, Int32, SortedList<DoubleHitTriangle>) Method

Finds the closest triangle using float arrays for vertices and int arrays for triangles.
Protected 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) _ 
)
This language is not supported or no code example is available.
protected void FindClosestTriangle( 
Transformation transf
Segment3D seg
float[] vertices
int[] 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
float[]

The vertices collection

triangles
int[]

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.5, 4.6, 4.7

In this article

Definition