AlignmentStationOffsetAcceptOutOfRange(Double, Double, Double, Double, Boolean) Method

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 an 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.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.7.0.1190
Syntax
public void StationOffsetAcceptOutOfRange(
	double easting,
	double northing,
	ref double station,
	ref double offset,
	ref bool outofrange
)

Parameters

easting  Double
Specifies the Easting value.
northing  Double
Specifies the Northing value.
station  Double
Returns the station specified by the northing and easting.
offset  Double
Returns the offset specified by the northing and easting.
outofrange  Boolean
Returns true if the point is within range, false if out of range.
See Also