GetPointRelativeElevation Method

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.2.3892.0

Syntax

C#

public double GetPointRelativeElevation(
	Point3d pt
)

Visual Basic

Public Function GetPointRelativeElevation ( _
	pt As Point3d _
) As Double

Visual C++

public:
double GetPointRelativeElevation(
	Point3d pt
)

Parameters

pt
Type: Point3d
The specified point on the feature line.

Exceptions

ExceptionCondition
System.ArgumentException Thrown when: The specified point is not on the feature line or when there is no relative surface.

See Also