Finds the offset 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 FindOffsetAndElevationAtXY( double x, double y, ref double offset, ref double elevation )
VB
Public Function FindOffsetAndElevationAtXY ( x As Double, y As Double, ByRef offset As Double, ByRef elevation As Double ) As Boolean
C++
public: bool FindOffsetAndElevationAtXY( double x, double y, double% offset, double% elevation )
Parameters
- x Double
- The X coordinate in the section view's coordinate system.
- y Double
- The Y coordinate in the section view's coordinate system.
- offset Double
- Returns the corresponding offset.
- elevation Double
- Returns the corresponding elevation.
Return Value
BooleanReturns a flag indicating whether the point specified is within the boundary of the section view.