This document is archived and information here might be outdated. Recommended version. |
Queries the positions along the source object at which the from-end and to-end of the network edge element lies.
[Visual Basic .NET]
Public Sub QueryPositions ( _
ByRef fromPosition As Double, _
ByRef toPosition As Double _
)
[C#]
public void QueryPositions (
ref double fromPosition,
ref double toPosition
);
[C++]
HRESULT QueryPositions(
System.Double* fromPosition,
System.Double* toPosition
);
[C++] Parameters fromPosition [out]
fromPosition is a parameter of type double* toPosition [out]
toPosition is a parameter of type double*
The QueryPositions method queries the positional values along the source feature from which this edge element was created. The position values range from 0.0 to 1.0, where 0.0 is at the from-end of the feature and 1.0 is at the to-end of the feature.
If the Direction property is esriNEDAlongDigitized, then the fromPosition value will be less than or equal to the toPositionValue. If the Direction property is esriNEDAgainstDigitized, then the fromPosition value will be greater than or equal to the toPositionValue.