SphericalSurface.point_at

SphericalSurface.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.

worldbool, optional

If True, return the point in world coordinates.

Returns:
compas.geometry.Point

A point on the sphere.