Polyline.tangent_at
- Polyline.tangent_at(t)[source]
Tangent vector at a specific normalized parameter.
- Parameters:
- tfloat
The parameter value.
- Returns:
compas.geometry.Vector
The tangent vector at the specified parameter.
Examples
>>> polyline = Polyline([[0.0, 0.0, 0.0], [1.0, 0.0, 0.0], [1.0, 1.0, 0.0]]) >>> print(polyline.tangent_at(0.75)) Vector(x=0.000, y=1.000, z=0.000)