Brep: Vertex-Index for Trim-Startpoint?

hey all,

how can i get the vertex-index for the startpoint of a brep-trim?

of course i could ask the trim for the edge it belongs to, and get the index of that edge’s startpoint, but this appears to be ambiguous.

best regards, heinz

I think it is not ambiguous if you take into account if a trim is reversed with respect to the edge it belongs to

http://developer.rhino3d.com/api/RhinoCommonWin/html/M_Rhino_Geometry_BrepTrim_IsReversed.htm

thanks a lot, menno! :wink: