ToroidalSurface.normal_at

ToroidalSurface.normal_at(u, v, world=True)[source]

Construct a normal vector at a point on the sphere.

Parameters:
ufloat

The first parameter.

vfloat

The second parameter.

worldbool, optional

If True, the normal vector is transformed to world coordinates.

Returns:
compas.geometry.Vector

The normal vector.