Interface IMSegmentation3

Namespace
ESRI.ArcGIS.Geometry
Assembly
ESRI.Server.Geometry.dll

Provides access to additional linear referencing operations on polylines.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("58AD0D5D-393D-44AA-9797-6E50D06ED524")]
public interface IMSegmentation3 : IMSegmentation2, IMSegmentation, IMCollection

Properties

MMax

double MMax { get; }

Property Value

double

MMin

double MMin { get; }

Property Value

double

MMonotonic

esriMMonotonicEnum MMonotonic { get; }

Property Value

esriMMonotonicEnum

MMonotonicity

A combination of esriMonotinicityEnum values that describes all trends in M values over the length of the curve.

int MMonotonicity { get; }

Property Value

int

Remarks

The MMonotonicity value in the above case is 15 because that polyline has intervals that EsriValueIncreases (1), EsriValueLevel (2), EsriValueDecreases(4) and EsriValuesEmpty(8).

Note : That method returns a combination of esriMonotinicityEnum values.

Methods

CalculateNonSimpleMs()

void CalculateNonSimpleMs()

CalibrateByDistance(IEnumVertex, int, bool, double)

IEnumSplitPoint CalibrateByDistance(IEnumVertex Points, int updateHow, bool ignoreGaps, double cutoffDistance)

Parameters

Points IEnumVertex
updateHow int
ignoreGaps bool
cutoffDistance double

Returns

IEnumSplitPoint

CalibrateByMs(IEnumVertex, int, double)

IEnumSplitPoint CalibrateByMs(IEnumVertex Points, int updateHow, double cutoffDistance)

Parameters

Points IEnumVertex
updateHow int
cutoffDistance double

Returns

IEnumSplitPoint

ExtrapolateMs(esriExtrapolationEnum, int, int, int, int)

void ExtrapolateMs(esriExtrapolationEnum extrapolationStyle, int fromPart, int FromPoint, int toPart, int ToPoint)

Parameters

extrapolationStyle esriExtrapolationEnum
fromPart int
FromPoint int
toPart int
ToPoint int

GetDistancesAtM(bool, double)

object GetDistancesAtM(bool asRatio, double M)

Parameters

asRatio bool
M double

Returns

object

GetMsAtDistance(double, bool)

object GetMsAtDistance(double distance, bool asRatio)

Parameters

distance double
asRatio bool

Returns

object

GetNormalsAtM(double, double)

Returns a geometry bag of line segments corresponding to the normal at the locations along the geometry where the specified M occurs.

IGeometryCollection GetNormalsAtM(double M, double Length)

Parameters

M double
Length double

Returns

IGeometryCollection

Remarks

Note : The Length parameter represents the length of the normal lines returned. A negative value returns the normal lines on the left of the polyline.

In the above example the specified M was 10 and the Length was 50. The normal line was then created on the right side of the polyline at the location of M = 10.

GetPointsAtM(double, double)

IGeometryCollection GetPointsAtM(double M, double lateralOffset)

Parameters

M double
lateralOffset double

Returns

IGeometryCollection

GetSubcurveBetweenMs(double, double)

IGeometryCollection GetSubcurveBetweenMs(double fromM, double toM)

Parameters

fromM double
toM double

Returns

IGeometryCollection

GetSubcurveBetweenMsEx(double, double, ref int, ref int)

IGeometryCollection GetSubcurveBetweenMsEx(double fromM, double toM, ref int fromMDetails, ref int toMDetails)

Parameters

fromM double
toM double
fromMDetails int
toMDetails int

Returns

IGeometryCollection

InsertMAtDistance(double, double, bool, bool, out bool, out int, out int)

void InsertMAtDistance(double M, double distance, bool asRatio, bool createPart, out bool SplitHappened, out int newPartIndex, out int newSegmentIndex)

Parameters

M double
distance double
asRatio bool
createPart bool
SplitHappened bool
newPartIndex int
newSegmentIndex int

InterpolateMsBetween(int, int, int, int)

void InterpolateMsBetween(int fromPart, int FromPoint, int toPart, int ToPoint)

Parameters

fromPart int
FromPoint int
toPart int
ToPoint int

MultiplyMs(double)

void MultiplyMs(double factor)

Parameters

factor double

OffsetMs(double)

void OffsetMs(double Offset)

Parameters

Offset double

OrientByMs()

Re-orients the curve to make Ms non-decreasing, if possible.

void OrientByMs()

Remarks

Note: If one or many parts of the polyline are non-MMonotonic then the reordering will not happen.

QueryFirstLastM(out double, out double)

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

void QueryFirstLastM(out double firstM, out double lastM)

Parameters

firstM double
lastM double

Remarks

Note : NAN stands for Not A Number.

ReverseMsOrder()

void ReverseMsOrder()

SetAndInterpolateMsBetween(double, double)

void SetAndInterpolateMsBetween(double fromM, double toM)

Parameters

fromM double
toM double

SetMsAsDistance(bool)

void SetMsAsDistance(bool asRatio)

Parameters

asRatio bool

SetMsAsDistance2(IPoint, double, double, bool)

void SetMsAsDistance2(IPoint Origin, double Scale, double Offset, bool ignoreGaps)

Parameters

Origin IPoint
Scale double
Offset double
ignoreGaps bool

UpdateAllMsByMs(IPoint, double, double, bool)

Sets Ms on vertices as scaled and offset M distances from the input origin as measured along the polyline based on the existing M's. Shortest path distances from the origin are used. Optionally ignores distances between parts of the polyline.

void UpdateAllMsByMs(IPoint Origin, double Scale, double Offset, bool ignoreGaps)

Parameters

Origin IPoint
Scale double
Offset double
ignoreGaps bool

UpdateMsByDistance(int, int, int, int, double, double, int, bool)

void UpdateMsByDistance(int fromPart, int FromPoint, int toPart, int ToPoint, double fromM, double toM, int updateHow, bool ignoreGaps)

Parameters

fromPart int
FromPoint int
toPart int
ToPoint int
fromM double
toM double
updateHow int
ignoreGaps bool

UpdateMsByMs(int, int, int, int, double, double, int)

void UpdateMsByMs(int fromPart, int FromPoint, int toPart, int ToPoint, double fromM, double toM, int updateHow)

Parameters

fromPart int
FromPoint int
toPart int
ToPoint int
fromM double
toM double
updateHow int