This document is archived and information here might be outdated. Recommended version. |
Position along the source object at which the specified position along the network edge element lies.
[Visual Basic .NET]
Public Function get_PositionAlongObject ( _
ByVal positionAlongElement As Double _
) As Double
[C#]
public double get_PositionAlongObject (
double positionAlongElement
);
[C++]
HRESULT get_PositionAlongObject(
void
);
The PositionAlongObject property determines, from the given positional value along the edge element, the corresponding positional value along the object from which this edge element was created. The positionAlongElement parameter and the PositionAlongObject value both range from 0.0 to 1.0.
For example, if the fromPosition and toPosition values from the QueryPositions method is 0.1 and 0.6 respectively, then the PositionAlongObject value for the positionAlongElement = 0.7 is equal to 70% of the way between 0.1 and 0.6, which is 0.45.