Computes the distance to another Alignment. If the target Alignment crosses the current Alignment, this
method checks the distance to the target Alignment on both sides, and returns the shorter distance.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public void DistanceToAlignment(
double stationOnThisAlignment,
Alignment otherAlignment,
ref double distanceToOtherAlignment,
ref double stationOnOtherAlignment
) |
Visual Basic |
---|
Public Sub DistanceToAlignment ( _
stationOnThisAlignment As Double, _
otherAlignment As Alignment, _
ByRef distanceToOtherAlignment As Double, _
ByRef stationOnOtherAlignment As Double _
) |
Visual C++ |
---|
public:
void DistanceToAlignment(
double stationOnThisAlignment,
Alignment^ otherAlignment,
double% distanceToOtherAlignment,
double% stationOnOtherAlignment
) |
Parameters
- stationOnThisAlignment
- Type: System..::..Double
Specifies the station name located on the current Alignment.
- otherAlignment
- Type: Autodesk.Civil.DatabaseServices..::..Alignment
Specifies the name of the target Alignment.
- distanceToOtherAlignment
- Type: System..::..Double%
Returns the distance from the current Alignment to the other Alignment.
- stationOnOtherAlignment
- Type: System..::..Double%
Returns the station located on the other Alignment.
Exceptions
See Also