Arc.normal_at

Arc.normal_at(t, world=True)[source]

Construct a normal vector to the arc at a specific parameter.

Parameters:
tfloat

The parameter at which to evaluate the arc.

worldbool, optional

If True, the normal is returned in world coordinates.

Returns:
compas.geometry.Vector
Raises:
ValueError

If the parameter is not in the domain of the curve [0, 1].

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 value t=1.0 corresponds to the end angle of the arc. The value t=0.5 corresponds to the angle halfway between start and end.