Share

Alignment.StationOffsetAcceptOutOfRange(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.8.0.280

Syntax

C#

public void StationOffsetAcceptOutOfRange(
	double easting,
	double northing,
	ref double station,
	ref double offset,
	ref bool outofrange
)

VB

Public Sub StationOffsetAcceptOutOfRange ( 
	easting As Double,
	northing As Double,
	ByRef station As Double,
	ByRef offset As Double,
	ByRef outofrange As Boolean
)

C++

public:
void StationOffsetAcceptOutOfRange(
	double easting, 
	double northing, 
	double% station, 
	double% offset, 
	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

Reference

Was this information helpful?