Returns the point's elevation, depending on the absolute or relative mode. Use the IsElevationRelativeToSurface() method to determine the elevation type.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public double GetPointRelativeElevation( Point3d pt )
VB
Public Function GetPointRelativeElevation ( pt As Point3d ) As Double
C++
public: double GetPointRelativeElevation( Point3d pt )
Parameters
- pt Point3d
- The specified point on the feature line.
Return Value
DoubleExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when: The specified point is not on the feature line or when there is no relative surface. |