Is it possible to locate the xy coordinates of the intersection of a polyline and the edges of TIN lines on a surface? I am looking for a way to programattically flatten a polyline to a surface and add vertices to it where they cross TIN lines.
Thanks
Stacy
Solved! Go to Solution.
Solved by Jeff_M. Go to Solution.
In .NET: the SampleElevations() method takes a Curve.ObjectId as an argument and returns a 3dPointCollection of all the TIN or GRID intersections with that curve.
In COM: the SampleElevations method takes 2 points and returns any intersections found along the line between them. So as long as you pline has no arcs you could go segment to segment.
And there are some relevant blog posts in IM DevBlog -
Hope this helps.
Thanks,
Partha