ToroidalSurface.point_at

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

Construct a point on the sphere.

Parameters:
ufloat

The first parameter. The parameter value should be between zero and one, and will be mapped to the corresponding angle between zero and pi.

vfloat

The second parameter. The parameter value should be between zero and one, and will be mapped to the corresponding angle between zero and 2 * pi.

Returns:
compas.geometry.Point

A point on the sphere.