Select to view content in your preferred language

Get point from known points to a specific distance of a polyline arcgis

2246
0
01-24-2016 01:23 AM
MonirRahman
New Contributor II

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:

public IPoint GetPointAtFrom(double distance, Coordinate givenCoordinate)
  
{
  
ArcGeometry.IPoint outletPoint = new ArcGeometry.PointClass();
  
ArcGeometry.ICurve curve = _polyline;
  curve
.QueryPoint(ArcGeometry.esriSegmentExtension.esriExtendTangentAtFrom, distance, false, outletPoint);
  
return new Point(outletPoint);
  
}

but it gives from point or others.

any idea ?? I am using .net in arcgis 10.0 Thanks

Tags (2)
0 Kudos
0 Replies