ArcObjects Library Reference (Location)  

IRouteMeasureCalibrator.CalibrateRoutesByMs Method

Calibrate route features by using existing M values for the interpolation.

[Visual Basic .NET]
Public Function CalibrateRoutesByMs ( _
    ByVal updateHow As Integer, _
    ByVal tolerance As Double, _
    ByVal allRoutes As Boolean, _
    ByVal outputFClassName As IFeatureClassName, _
    ByVal outputGeometryDef As IGeometryDef, _
    ByVal configKeyword As String, _
    ByVal trackCancel As ITrackCancel _
) As IEnumBSTR
[C#]
public IEnumBSTR CalibrateRoutesByMs (
    int updateHow,
    double tolerance,
    bool allRoutes,
    IFeatureClassName outputFClassName,
    IGeometryDef outputGeometryDef,
    string configKeyword,
    ITrackCancel trackCancel
);
[C++]
HRESULT CalibrateRoutesByMs(
  long updateHow,
  double tolerance,
  VARIANT_BOOL allRoutes,
  IFeatureClassName* outputFClassName,
  IGeometryDef* outputGeometryDef,
  BSTR configKeyword,
  ITrackCancel* trackCancel,
  IEnumBSTR** enumError
);
[C++]

Parameters

updateHow [in]   updateHow is a parameter of type long tolerance [in]   tolerance is a parameter of type double allRoutes [in]   allRoutes is a parameter of type VARIANT_BOOL outputFClassName [in]

  outputFClassName is a parameter of type IFeatureClassName

outputGeometryDef [in]

  outputGeometryDef is a parameter of type IGeometryDef

configKeyword [in]   configKeyword is a parameter of type BSTR trackCancel [in]

  trackCancel is a parameter of type ITrackCancel

enumError [out, retval]

  enumError is a parameter of type IEnumBSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The outputFClassName parameter in this method is the IFeatureClassName , from which the properties of the output feature class can be set.

The outputGeometryDef parameter sets the IGeometryDef for the output feature class.  The geometry definition of the output feature class must have HasMs = True, and should have an adequate M extent (MDomain) so the new measures can be set. 

If there are disjoint routes, gaps will be ignored.   

See Also

IRouteMeasureCalibrator Interface | IRouteMeasureCalibrator Interface