Interface IMSegmentation4

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

Provides access to additional linear referencing operations on polylines.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("0AA29B2F-A1AD-448C-9B13-2AA06D14C022")]
public interface IMSegmentation4 : 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

int MMonotonicity { get; }

Property Value

int

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

CalibrateByDistance3D(IEnumVertex, int, bool, double)

Calibrates Ms of existing vertices using new Ms from the input points and the shortest 3D path distances along the polyline between those points. The update method is given as a combination of esriGeometryUpdateMEnum values.

IEnumSplitPoint CalibrateByDistance3D(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

CalibrateByMs3D(IEnumVertex, int, double)

Calibrates Ms of existing vertices using new Ms from the input points and existing Ms along the shortest 3D paths between those points. The update method is given as a combination of esriGeometryUpdateMEnum values.

IEnumSplitPoint CalibrateByMs3D(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

ExtrapolateMs3D(esriExtrapolationEnum, int, int, int, int)

Extrapolates the Ms at one or both ends of the geometry based on the M interval between the fromIndex and the toIndex.

void ExtrapolateMs3D(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

GetDistancesAtM3D(bool, double)

Returns an array of 3D distances along the polyline at which is located the specified M. If the geometry's M's are monotonic along the geometry then the array will only have one element.

object GetDistancesAtM3D(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

GetMsAtDistance3D(double, bool)

Returns M values at the 3D distance along the geometry. An array of one or two Ms is returned. Two Ms can be returned if the given distance is exactly at the beginning or ending of a part.

object GetMsAtDistance3D(double distance, bool asRatio)

Parameters

distance double
asRatio bool

Returns

object

GetNormalsAtM(double, double)

IGeometryCollection GetNormalsAtM(double M, double Length)

Parameters

M double
Length double

Returns

IGeometryCollection

GetPointsAtM(double, double)

IGeometryCollection GetPointsAtM(double M, double lateralOffset)

Parameters

M double
lateralOffset double

Returns

IGeometryCollection

GetPointsAtM3D(double, IVector3D)

Returns a multipoint geometry corresponding to the locations along the geometry where the specified M occurs.

IGeometryCollection GetPointsAtM3D(double M, IVector3D Offset)

Parameters

M double
Offset IVector3D

Returns

IGeometryCollection

GetSubcurveBetweenMs(double, double)

IGeometryCollection GetSubcurveBetweenMs(double fromM, double toM)

Parameters

fromM double
toM double

Returns

IGeometryCollection

GetSubcurveBetweenMs3D(double, double)

Returns a polyline geometry corresponding to the subcurve(s) between the fromM and the toM.

IGeometryCollection GetSubcurveBetweenMs3D(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

GetSubcurveBetweenMsEx3D(double, double, ref int, ref int)

Returns a polyline geometry corresponding to the subcurve(s) between the fromM and the toM values. The 'details' arguments are composed of esriMCurveRelationEnum values.

IGeometryCollection GetSubcurveBetweenMsEx3D(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

InsertMAtDistance3D(double, double, bool, bool, out bool, out int, out int)

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

void InsertMAtDistance3D(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

InterpolateMsBetween3D(int, int, int, int)

Generates Ms by linear interpolation of 3D distances for all vertices in the range [start+1, end-1].

void InterpolateMsBetween3D(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()

void OrientByMs()

QueryFirstLastM(out double, out double)

void QueryFirstLastM(out double firstM, out double lastM)

Parameters

firstM double
lastM double

ReverseMsOrder()

void ReverseMsOrder()

SetAndInterpolateMsBetween(double, double)

void SetAndInterpolateMsBetween(double fromM, double toM)

Parameters

fromM double
toM double

SetAndInterpolateMsBetween3D(double, double)

Sets the Ms at the beginning and the end of the geometry and interpolates the M values between these values based on an interpolation normalized to the 3D length of the shape.

void SetAndInterpolateMsBetween3D(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

SetMsAsDistance3D(bool)

Sets the M values to the cumulative 3D length from the origin of the geometry.

void SetMsAsDistance3D(bool asRatio)

Parameters

asRatio bool

UpdateAllMsByMs(IPoint, double, double, bool)

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