fractionToPointAndUnitTangent Method

Returns a ray whose origin is the curve point and direction is the unit tangent.

fractionToPointAndUnitTangent(fraction: number, result?: Ray3d): Ray3d

@returns tangent ray with normalized direction or zero vector if the derivative vanishes.

Parameter Type Description
fraction number fractional position on the curve.
result Ray3d optional preallocated ray.

Returns - Ray3d

tangent ray with normalized direction or zero vector if the derivative vanishes.

Defined in

Last Updated: 06 December, 2025