Model.FindClosestTriangle (IFace, Point) Method

Finds the closest triangle to the viewer of the specified entity.
Public Function FindClosestTriangle( _ 
ByVal entity As IFace, _ 
ByVal mousePos As Point
) As IList(Of HitTriangle)
This language is not supported or no code example is available.
public IList<HitTriangle> FindClosestTriangle( 
IFace entity
Point mousePos 
)
This language is not supported or no code example is available.

Parameters

entity
IFace

The entity

mousePos
Point

Mouse cursor position (zero on top)

Return Value

IList<HitTriangle>

A sorted (by distance from the viewer) list of HitTriangle found under the mouse cursor.

Remarks
 
If the entity is inside a BlockReference, it must be set as current.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition