Returns the nearest station and offset on an Alignment at given easting, northing and tolerance values.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public void StationOffset( double easting, double northing, double tolerance, ref double station, ref double offset )
VB
Public Sub StationOffset ( easting As Double, northing As Double, tolerance As Double, ByRef station As Double, ByRef offset As Double )
C++
public: void StationOffset( double easting, double northing, double tolerance, double% station, double% offset )
Parameters
- easting Double
- Specifies the Easting value.
- northing Double
- Specifies the Northing value.
- tolerance Double
- Specifies the tolerance value. This value is in the same coordinate units as the Easting and Northing values, and specifies a range within which the method looks for a point on the Alignment.
- station Double
- Returns the station value.
- offset Double
- Returns the offset value.
Exceptions
Exception | Condition |
---|---|
PointNotOnEntityException | Thrown when the easting and northing value are out of Alignment range. |