GetHCurveTangentAtStation Method


Calculate 2d (X and Y components of returned vector) horizontal tangent at given station.

Namespace: Autodesk.Revit.DB.Infrastructure
Assembly: Autodesk.CivilAlignments.DBApplication (in Autodesk.CivilAlignments.DBApplication.dll) Version: 22.0.0.0 (22.1.0.0)
Since: 2021.1

Syntax

C#
public XYZ GetHCurveTangentAtStation(
	double station
)
Visual Basic
Public Function GetHCurveTangentAtStation ( _
	station As Double _
) As XYZ
Visual C++
public:
XYZ^ GetHCurveTangentAtStation(
	double station
)

Parameters

station
Type: System Double
Alignment station to calculate 2d horizontal tangent for, in Revit internal model units (standard Imperial feet).

Return Value

2d (X and Y components of returned vector) horizontal tangent at given station.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →