In the ArcObjects SDK there is a method called QueryPointsAndDistances, which is a member of the ICurve3 Interface. Can you please add support for this in the ArcGIS Pro SDK as part of the IGeometryEngine Interface under the ArcGIS.Core.Geometry namespace? This functionality would be really useful for my linear referencing work. Please note: this method is not to be confused with the QueryPointAndDistance method, which is already available in the Pro SDK but only returns a single map point and does not provide an enumerator returned from QueryPointsAndDistances available in ArcObjects. Thank you!
Hi,
We will add it in the next release. Thank you for the suggestion.
Annette
Hi. Still looking for this specific functionality to be implemented in the ArcGIS Pro SDK. The method provides an enumerator over all the closest points on a geometry given an input point:
https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#ICurve3_QueryPointsAndDistances.htm
Thank you!
Hi,
This functionality has been added to the next release which is 3.5.
There are two new methods.
IReadOnlyList<MapPoint> QueryPoints(Segment segment, SegmentExtensionType extensionType, IEnumerable<double> distancesAlongCurve, AsRatioOrLength asRatioOrLength)
IReadOnlyList<MapPoint> QueryPoints(Multipart multipart, SegmentExtensionType extensionType, IEnumerable<double> distancesAlongCurve, AsRatioOrLength asRatioOrLength)
Correction: This was added in 3.4.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.