Brep.GetStraightEdgeIndex Method
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
intAn integer representing the index of the first edge that satisfies the requirements. -1 if the operation failed.