Finds the station and elevation values at the given X,Y coordinate.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public bool FindStationAndElevationAtXY( double x, double y, ref double station, ref double elevation )
VB
Public Function FindStationAndElevationAtXY ( x As Double, y As Double, ByRef station As Double, ByRef elevation As Double ) As Boolean
C++
public: bool FindStationAndElevationAtXY( double x, double y, double% station, double% elevation )
Parameters
- x Double
- The X coordinate in the profile view's coordinate system.
- y Double
- The Y coordinate in the profile view's coordinate system.
- station Double
- Returns the corresponding station.
- elevation Double
- Returns the corresponding elevation.
Return Value
BooleanReturns a flag indicating whether the point specified is within the boundary of the profile view.