<DIV>How to project a polyline to terrain that represented by TIN (triangulate irregular network)? I have a 2D polyline and a TIN, and I want to get all Z value of points that recursive subdivision of the polyline by TIN, how to do?</DIV>
<DIV> </DIV>
<DIV>I currently solve it as follows:</DIV>
<DIV>1. along polyline, resample to get many points.</DIV>
<DIV>2. probe these points' Z value on TIN with it's scalars (height).</DIV>
<DIV>3. using vtkDecimatePolylineFilter to reduce number of points.</DIV>
<DIV> </DIV>
<DIV>This method is very slowly when polyline is more longer and TIN is more bigger. So I want someone to help to get another solution.</DIV>
<DIV> </DIV>
<DIV>thanks.</DIV>
<DIV> </DIV>
<DIV> Liang Aibin</DIV>
<DIV> <A href="mailto:lab_zj@163.com">lab_zj@163.com</A></DIV><br><br><span title="neteasefooter"/><hr/>
<a href="http://fanxian.163.com/fanxian/?keyfrom=163mail.footer">网易邮箱用户购物独享现金返还</a>
</span>