Interface IMSegmentation4
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
MMin
double MMin { get; }
Property Value
MMonotonic
esriMMonotonicEnum MMonotonic { get; }
Property Value
MMonotonicity
int MMonotonicity { get; }
Property Value
Methods
CalculateNonSimpleMs()
void CalculateNonSimpleMs()
CalibrateByDistance(IEnumVertex, int, bool, double)
IEnumSplitPoint CalibrateByDistance(IEnumVertex Points, int updateHow, bool ignoreGaps, double cutoffDistance)
Parameters
PointsIEnumVertexupdateHowintignoreGapsboolcutoffDistancedouble
Returns
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
PointsIEnumVertexupdateHowintignoreGapsboolcutoffDistancedouble
Returns
CalibrateByMs(IEnumVertex, int, double)
IEnumSplitPoint CalibrateByMs(IEnumVertex Points, int updateHow, double cutoffDistance)
Parameters
PointsIEnumVertexupdateHowintcutoffDistancedouble
Returns
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
PointsIEnumVertexupdateHowintcutoffDistancedouble
Returns
ExtrapolateMs(esriExtrapolationEnum, int, int, int, int)
void ExtrapolateMs(esriExtrapolationEnum extrapolationStyle, int fromPart, int FromPoint, int toPart, int ToPoint)
Parameters
extrapolationStyleesriExtrapolationEnumfromPartintFromPointinttoPartintToPointint
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
extrapolationStyleesriExtrapolationEnumfromPartintFromPointinttoPartintToPointint
GetDistancesAtM(bool, double)
object GetDistancesAtM(bool asRatio, double M)
Parameters
Returns
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
Returns
GetMsAtDistance(double, bool)
object GetMsAtDistance(double distance, bool asRatio)
Parameters
Returns
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
Returns
GetNormalsAtM(double, double)
IGeometryCollection GetNormalsAtM(double M, double Length)
Parameters
Returns
GetPointsAtM(double, double)
IGeometryCollection GetPointsAtM(double M, double lateralOffset)
Parameters
Returns
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
Returns
GetSubcurveBetweenMs(double, double)
IGeometryCollection GetSubcurveBetweenMs(double fromM, double toM)
Parameters
Returns
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
Returns
GetSubcurveBetweenMsEx(double, double, ref int, ref int)
IGeometryCollection GetSubcurveBetweenMsEx(double fromM, double toM, ref int fromMDetails, ref int toMDetails)
Parameters
Returns
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
Returns
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
MdoubledistancedoubleasRatioboolcreatePartboolSplitHappenedboolnewPartIndexintnewSegmentIndexint
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
MdoubledistancedoubleasRatioboolcreatePartboolSplitHappenedboolnewPartIndexintnewSegmentIndexint
InterpolateMsBetween(int, int, int, int)
void InterpolateMsBetween(int fromPart, int FromPoint, int toPart, int ToPoint)
Parameters
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
MultiplyMs(double)
void MultiplyMs(double factor)
Parameters
factordouble
OffsetMs(double)
void OffsetMs(double Offset)
Parameters
Offsetdouble
OrientByMs()
void OrientByMs()
QueryFirstLastM(out double, out double)
void QueryFirstLastM(out double firstM, out double lastM)
Parameters
ReverseMsOrder()
void ReverseMsOrder()
SetAndInterpolateMsBetween(double, double)
void SetAndInterpolateMsBetween(double fromM, double toM)
Parameters
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
SetMsAsDistance(bool)
void SetMsAsDistance(bool asRatio)
Parameters
asRatiobool
SetMsAsDistance2(IPoint, double, double, bool)
void SetMsAsDistance2(IPoint Origin, double Scale, double Offset, bool ignoreGaps)
Parameters
SetMsAsDistance3D(bool)
Sets the M values to the cumulative 3D length from the origin of the geometry.
void SetMsAsDistance3D(bool asRatio)
Parameters
asRatiobool
UpdateAllMsByMs(IPoint, double, double, bool)
void UpdateAllMsByMs(IPoint Origin, double Scale, double Offset, bool ignoreGaps)
Parameters
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
fromPartintFromPointinttoPartintToPointintfromMdoubletoMdoubleupdateHowintignoreGapsbool
UpdateMsByMs(int, int, int, int, double, double, int)
void UpdateMsByMs(int fromPart, int FromPoint, int toPart, int ToPoint, double fromM, double toM, int updateHow)