Arc.tangent_at
- Arc.tangent_at(t, world=True)[source]
Construct a tangent on the circle at a specific parameter.
- Parameters:
- tfloat
The parameter at which to evaluate the arc.
- worldbool, optional
If
True
, the tangent is returned in world coordinates.
- Returns:
compas.geometry.Vector
The tangent on the circle at the specified parameter.
- Raises:
- ValueError
If the parameter is not in the domain of the curve
[0, 1]
.
See also
point_at()
,normal_at()
,binormal_at()
Notes
The parametrisation of the arc is normalised with respect to the polar angle domain. The value
t=0.0
corresponds to the start angle of the arc. The valuet=1.0
corresponds to the end angle of the arc. The valuet=0.5
corresponds to the angle halfway between start and end.