Working with a DgnElementSetTool tool, I'd like to determine which end of a linear element (line, lineString) is nearest to the element's identifying datapoint. I'm using CurverVectorPtr to ensure the selected element is a line or lineString in _onPostLocate(). Once a datapoint is provided (_NeedAcceptPoint() is false) I use CurveVectorPtr built from the EditElementHandleR and obtain the end point locations. I also have the "locate point" (_GetAnchorPoint()) of the datapoint on the line, Is it possible from the "Curve" to project from the anchor point ALONG the curve to the ends? Maybe using "DSegmnent3d", but I can't seem to figure it out. Maybe something like mdlElmdscr_distacneAtPoint() ?
Bruce