bhavanisankarnimmala

Get Point on Line (along the curve)

Blog Post created by bhavanisankarnimmala on May 14, 2018

//Main Line of Code

IPoint pointA = constructPointAlong(distanceAlong, Vertical_Line1, esriSegmentExtension.esriNoExtension, false);

//Sub Code of the Method

private static IPoint constructPointAlong(double distance, ICurve curve, esriSegmentExtension extension, bool asRatio)

{

IPoint pt = new Point();

IConstructPoint contructionPoint = pt as IConstructPoint;

contructionPoint.ConstructAlong(curve, extension, distance, asRatio);

return contructionPoint as IPoint;

}

Outcomes