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


IMSegmentation3.QueryFirstLastM Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geometry)  

IMSegmentation3.QueryFirstLastM Method

Returns the first and last defined M value for the curve.

[Visual Basic .NET]
Public Sub QueryFirstLastM ( _
    ByRef firstM As Double, _
    ByRef lastM As Double _
)
[C#]
public void QueryFirstLastM (
    ref double firstM,
    ref double lastM
);
[C++]
HRESULT QueryFirstLastM(
  System.Double* firstM,
  System.Double* lastM
);
[C++]

Parameters firstM [out]
firstM is a parameter of type double* lastM [out]
lastM is a parameter of type double*

Product Availability

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

Description

QueryFirstLastM returns the first and the last Non-NAN Ms on the polyline. If all the vertex attributes are NANs then NANs are returned.

Remarks

Note : NAN stands for Not A Number.

See Also

IMSegmentation3 Interface