Returns the station and offset on an Alignment at given easting and northing values, the same as the StationOffset method.
Whereas the StationOffset method throws and exception if the easting and northing are out of Alignment range, this one does not and instead returns either the starting or ending station as the station, and the offset returned is the distance between the easting and northing point and the first or last station.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public void StationOffsetAcceptOutOfRange(
double easting,
double northing,
double tolerance,
ref double station,
ref double offset,
ref bool outofrange
) |
Visual Basic |
---|
Public Sub StationOffsetAcceptOutOfRange ( _
easting As Double, _
northing As Double, _
tolerance As Double, _
ByRef station As Double, _
ByRef offset As Double, _
ByRef outofrange As Boolean _
) |
Visual C++ |
---|
public:
void StationOffsetAcceptOutOfRange(
double easting,
double northing,
double tolerance,
double% station,
double% offset,
bool% outofrange
) |
Parameters
- easting
- Type: System..::..Double
Specifies the Easting value.
- northing
- Type: System..::..Double
Specifies the Northing value.
- tolerance
- Type: System..::..Double
Specifies the max distance tolerance for being considered out of range and throwing an exception.
- station
- Type: System..::..Double%
Returns the station specified by the northing and easting.
- offset
- Type: System..::..Double%
Returns the offset specified by the northing and easting.
- outofrange
- Type: System..::..Boolean%
Returns true if the point is within range, false if out of range.
Exceptions
See Also