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: 21.0.0.0 (21.1.1.109)
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.

Return Value

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

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →