Computes the distance between tracks of two alignments.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public List<Tuple<AlignmentTrackDistanceData, bool>> TrackDistanceToAlignment( List<double> stationListOnThisAlignment, double? gaugeForThisAlignment, ObjectId otherAlignmentId, double? gaugeForOtherAlignment, TrackDistanceCalculationMode trackDistanceCalculationMode )
VB
Public Function TrackDistanceToAlignment ( stationListOnThisAlignment As List(Of Double), gaugeForThisAlignment As Double?, otherAlignmentId As ObjectId, gaugeForOtherAlignment As Double?, trackDistanceCalculationMode As TrackDistanceCalculationMode ) As List(Of Tuple(Of AlignmentTrackDistanceData, Boolean))
C++
public: List<Tuple<AlignmentTrackDistanceData^, bool>^>^ TrackDistanceToAlignment( List<double>^ stationListOnThisAlignment, Nullable<double> gaugeForThisAlignment, ObjectId otherAlignmentId, Nullable<double> gaugeForOtherAlignment, TrackDistanceCalculationMode trackDistanceCalculationMode )
Parameters
- stationListOnThisAlignment ListDouble
- Specifies the raw stations located on the current alignment.
- gaugeForThisAlignment NullableDouble
- Specifies the gauge for current alignment. If not specified, use default track width of the alignment or 0 if alignment doesn't have track width.
- otherAlignmentId ObjectId
- Specifies other alignment's object id.
- gaugeForOtherAlignment NullableDouble
- Specifies the gauge for other alignment. If not specified, use default track width of other alignment or 0 if other alignment doesn't have track width.
- trackDistanceCalculationMode TrackDistanceCalculationMode
- The type of calculating distance.
Return Value
ListTupleAlignmentTrackDistanceData, BooleanReturns list of < alignment track distance data object, result of finding station on other alignment >.
Exceptions
Exception | Condition |
---|---|
ArgumentException |
Thrown when:
|