Brep.GetStraightEdgeIndex Method

Gets the edge index containing the 3D input point.
Public Function GetStraightEdgeIndex( _ 
ByVal pointOnEdge As Point3D, _ 
Optional ByVal direction As Vector3D = null _ 
) As Integer
This language is not supported or no code example is available.
public int GetStraightEdgeIndex( 
Point3D pointOnEdge
Vector3D direction = null 
)
This language is not supported or no code example is available.

Parameters

pointOnEdge
Point3D

A point lying on the desired edge Can be null/Nothing.

direction
Vector3D

The edge direction helping to find the desired edge if the pointOnEdge lies on a Brep vertex. It can be null/Nothing.

Return Value

int

An integer representing the index of the first edge that satisfies the requirements. -1 if the operation failed.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition