This document is archived and information here might be outdated.  Recommended version.


IMSegmentation4.InsertMAtDistance3D Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IM > IMSegmentation4 Interface > IMSegmentation4.InsertMAtDistance3D Method
ArcGIS Developer Help

IMSegmentation4.InsertMAtDistance3D Method

Sets the M value at the given 3D distance along the geometry; creates a point at that distance if no point exists there.

[Visual Basic .NET]
Public Sub InsertMAtDistance3D ( _
    ByVal M As Double, _
    ByVal distance As Double, _
    ByVal asRatio As Boolean, _
    ByVal createPart As Boolean, _
    ByRef SplitHappened As Boolean, _
    ByRef newPartIndex As Integer, _
    ByRef newSegmentIndex As Integer _
)
[C#]
public void InsertMAtDistance3D (
    double M,
    double distance,
    bool asRatio,
    bool createPart,
    ref bool SplitHappened,
    ref int newPartIndex,
    ref int newSegmentIndex
);
[C++]
HRESULT InsertMAtDistance3D(
  double M,
  double distance,
  VARIANT_BOOL asRatio,
  VARIANT_BOOL createPart,
  Boolean* SplitHappened,
  System.Int32* newPartIndex,
  System.Int32* newSegmentIndex
);
[C++]
Parameters
M 

M is a parameter of type double distance
distance is a parameter of type double asRatio
asRatio is a parameter of type bool createPart
createPart is a parameter of type bool SplitHappened [out]
SplitHappened is a parameter of type bool* newPartIndex [out]
newPartIndex is a parameter of type long* newSegmentIndex [out]
newSegmentIndex is a parameter of type long*

Product Availability

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

See Also

IMSegmentation4 Interface