Multipart CalibrateMsByDistance( Multipart multipart, IEnumerable<MapPoint> points, UpdateMMethod updateMMethod, bool ignoreGaps, double cutOffDistance )
Function CalibrateMsByDistance( _ ByVal multipart As Multipart, _ ByVal points As IEnumerable(Of MapPoint), _ ByVal updateMMethod As UpdateMMethod, _ ByVal ignoreGaps As Boolean, _ ByVal cutOffDistance As Double _ ) As Multipart
Parameters
- multipart
- The multipart to copy and update.
- points
- The points with the new M-values. If the X and Y values match a point in the multipart, then the M-value of that point will be updated with the M-value of the input point.
- updateMMethod
- The method to use when updating M-values of points that are not included in points. You can use a combination of update methods by using the bitwise OR operator. For example, to interpolate between the input points and to extrapolate before the input points, use UpdateMMethod.Interpolate | UpdateMMethod.ExtrapolateBefore.
- ignoreGaps
- cutOffDistance
- The distance along the multipart that determines if points are considered for calibration. Points that are farther than the distance along the multipart are not calibrated. If you want all the points to be considered for calibration, use the length of the multipart.
Return Value
An updated version of the input multipart.