Computes the distance to another Alignment, specifying the side of current Alignment to look for the target Alignment.
public void DistanceToAlignment( double stationOnThisAlignment, Alignment otherAlignment, AlignmentSide enumSide, ref double distanceToOtherAlignment, ref double stationOnOtherAlignment )
Public Sub DistanceToAlignment ( stationOnThisAlignment As Double, otherAlignment As Alignment, enumSide As AlignmentSide, ByRef distanceToOtherAlignment As Double, ByRef stationOnOtherAlignment As Double )
public: void DistanceToAlignment( double stationOnThisAlignment, Alignment^ otherAlignment, AlignmentSide enumSide, double% distanceToOtherAlignment, double% stationOnOtherAlignment )
| Exception | Condition |
|---|---|
| PointNotOnEntityException | Thrown if the target Alignment is not found. |