I want to query a point on a polyline, using a starting point on the polyline, and a distance from the starting point, using Arcobjects.
My inputs Point A, Polyline A, Distance from pointA. Output Point B.
What I tried
var distanceAlong=0.5;
var distanceFrom=0.0;
var pointB=new PointClass();
polyline.QueryPointAndDistance(esriSegmentExtension.NoExtention,PointA,true,pointB,distanceAlong,distancefrom,false)
This didnt work for me, PointB is turning out to be the same as PointA.
QueryPoint is not what I want either since I have a starting point which I need to query from.
How can I find PointB from PointA using a distance along the curve/line ?