P_Rhino_Geometry_Line_UnitTangent - mcneel/rhinocommon-api-docs GitHub Wiki

Line.UnitTangent Property

Gets the tangent of the line segment. Note that tangent vectors are always unit vectors.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public Vector3d UnitTangent { get; }

VB

Public ReadOnly Property UnitTangent As Vector3d
	Get

Property Value

Type: Vector3d
Sets only the direction of the line, the length is maintained.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Line Structure
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️