Finds the station and elevation values at the given X,Y coordinate.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0

Syntax

C#
public bool FindStationAndElevationAtXY(
	double x,
	double y,
	ref double station,
	ref double elevation
)
Visual Basic
Public Function FindStationAndElevationAtXY ( _
	x As Double, _
	y As Double, _
	ByRef station As Double, _
	ByRef elevation As Double _
) As Boolean
Visual C++
public:
bool FindStationAndElevationAtXY(
	double x, 
	double y, 
	double% station, 
	double% elevation
)

Parameters

x
Type: System..::..Double
The X coordinate in the profile view's coordinate system.
y
Type: System..::..Double
The Y coordinate in the profile view's coordinate system.
station
Type: System..::..Double%
Returns the corresponding station.
elevation
Type: System..::..Double%
Returns the corresponding elevation.

Return Value

Returns a flag indicating whether the point specified is within the boundary of the profile view.

See Also