AlignmentStationOffset(Double, Double, Double, Double, Double) Method |
Returns the nearest station and offset on an Alignment at given easting, northing and tolerance values.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic void StationOffset(
double easting,
double northing,
double tolerance,
ref double station,
ref double offset
)
Public Sub StationOffset (
easting As Double,
northing As Double,
tolerance As Double,
ByRef station As Double,
ByRef offset As Double
)
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
Remarks
This method returns an error code if the station and offset are out of range using the tolerance given.
See Also