I want to know the coordinates of a polyline from specific point and distance. I have attached image to clear the specification. say, I have a points B(2,3). I want to know the coordinates of A and B from 2 feet distance of B point. I have tried this:
<SPAN class="kwd" style="color: #00008b;">public</SPAN><SPAN class="pln" style="color: #000000;"> </SPAN><SPAN class="typ" style="color: #2b91af;">IPoint</SPAN><SPAN class="pln" style="color: #000000;"> </SPAN><SPAN class="typ" style="color: #2b91af;">GetPointAtFrom</SPAN><SPAN class="pun" style="color: #000000;">(</SPAN><SPAN class="kwd" style="color: #00008b;">double</SPAN><SPAN class="pln" style="color: #000000;"> distance</SPAN><SPAN class="pun" style="color: #000000;">,</SPAN><SPAN class="pln" style="color: #000000;"> </SPAN><SPAN class="typ" style="color: #2b91af;">Coordinate</SPAN><SPAN class="pln" style="color: #000000;"> givenCoordinate</SPAN><SPAN class="pun" style="color: #000000;">)</SPAN><SPAN class="pln" style="color: #000000;"><BR /> </SPAN><SPAN class="pun" style="color: #000000;">{</SPAN><SPAN class="pln" style="color: #000000;"><BR /> </SPAN><SPAN class="typ" style="color: #2b91af;">ArcGeometry</SPAN><SPAN class="pun" style="color: #000000;">.</SPAN><SPAN class="typ" style="color: #2b91af;">IPoint</SPAN><SPAN class="pln" style="color: #000000;"> outletPoint </SPAN><SPAN class="pun" style="color: #000000;">=</SPAN><SPAN class="pln" style="color: #000000;"> </SPAN><SPAN class="kwd" style="color: #00008b;">new</SPAN><SPAN class="pln" style="color: #000000;"> </SPAN><SPAN class="typ" style="color: #2b91af;">ArcGeometry</SPAN><SPAN class="pun" style="color: #000000;">.</SPAN><SPAN class="typ" style="color: #2b91af;">PointClass</SPAN><SPAN class="pun" style="color: #000000;">();</SPAN><SPAN class="pln" style="color: #000000;"><BR /> </SPAN><SPAN class="typ" style="color: #2b91af;">ArcGeometry</SPAN><SPAN class="pun" style="color: #000000;">.</SPAN><SPAN class="typ" style="color: #2b91af;">ICurve</SPAN><SPAN class="pln" style="color: #000000;"> curve </SPAN><SPAN class="pun" style="color: #000000;">=</SPAN><SPAN class="pln" style="color: #000000;"> _polyline</SPAN><SPAN class="pun" style="color: #000000;">;</SPAN><SPAN class="pln" style="color: #000000;"><BR /> curve</SPAN><SPAN class="pun" style="color: #000000;">.</SPAN><SPAN class="typ" style="color: #2b91af;">QueryPoint</SPAN><SPAN class="pun" style="color: #000000;">(</SPAN><SPAN class="typ" style="color: #2b91af;">ArcGeometry</SPAN><SPAN class="pun" style="color: #000000;">.</SPAN><SPAN class="pln" style="color: #000000;">esriSegmentExtension</SPAN><SPAN class="pun" style="color: #000000;">.</SPAN><SPAN class="pln" style="color: #000000;">esriExtendTangentAtFrom</SPAN><SPAN class="pun" style="color: #000000;">,</SPAN><SPAN class="pln" style="color: #000000;"> distance</SPAN><SPAN class="pun" style="color: #000000;">,</SPAN><SPAN class="pln" style="color: #000000;"> </SPAN><SPAN class="kwd" style="color: #00008b;">false</SPAN><SPAN class="pun" style="color: #000000;">,</SPAN><SPAN class="pln" style="color: #000000;"> outletPoint</SPAN><SPAN class="pun" style="color: #000000;">);</SPAN><SPAN class="pln" style="color: #000000;"><BR /> </SPAN><SPAN class="kwd" style="color: #00008b;">return</SPAN><SPAN class="pln" style="color: #000000;"> </SPAN><SPAN class="kwd" style="color: #00008b;">new</SPAN><SPAN class="pln" style="color: #000000;"> </SPAN><SPAN class="typ" style="color: #2b91af;">Point</SPAN><SPAN class="pun" style="color: #000000;">(</SPAN><SPAN class="pln" style="color: #000000;">outletPoint</SPAN><SPAN class="pun" style="color: #000000;">);</SPAN><SPAN class="pln" style="color: #000000;"><BR /> </SPAN><SPAN class="pun" style="color: #000000;">}</SPAN>
but it gives from point or others.
any idea ?? I am using .net in arcgis 10.0 Thanks