Select to view content in your preferred language

how to get point within a distance along a polyline given inPoint?

811
2
04-01-2013 08:58 AM
HailiangShen
Deactivated User
Dear All,
I need to finish the following task: given a point (inPoint) within a polyline (pl), find the point which is:

- within the polyline pl
- distance along the polyline pl between inPoint and the point to-be-find is 250 m

Is there any way to do it with ArcObject?
Thanks for any suggestions,
Hailiang
0 Kudos
2 Replies
ModyBuchbinder
Esri Regular Contributor
Hi Hailiang

Use ICurve.QueryPointAndDistance to find the distance of your inPoint along the curve.
Then use ICurve.QueryPoint and give the distance from the first method + 250 m

Have fun
Mody
0 Kudos
HailiangShen
Deactivated User
Thanks Mody for your suggestion, problem solved using QueryPointAndDistance and QueryPoint methods.
0 Kudos