AlignmentDistanceToAlignment(Double, Alignment, AlignmentSide, Double, Double) Method |
Computes the distance to another Alignment, specifying the side of current Alignment to look for the target Alignment.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic 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
)
Parameters
- stationOnThisAlignment Double
- Specifies the station name located on the current Alignment.
- otherAlignment Alignment
- Specifies the name of target Alignment.
- enumSide AlignmentSide
- Specifies which side of this Alignment to look for the target Alignment. This is required in the
the case where the alignments cross, and the target Alignment can be found on both sides.
- distanceToOtherAlignment Double
- Returns the distance from the current Alignment to the other Alignment.
- stationOnOtherAlignment Double
- Returns the station located on the other Alignment.
Exceptions
See Also