Sphere.GetValue

Returns the output value from the noise module given the (latitude, longitude) coordinates of the specified input value located on the surface of the sphere.

@param lat The latitude of the input value, in degrees. @param lon The longitude of the input value, in degrees.

@returns The output value from the noise module.

@pre A noise module was passed to the SetMod() method.

This output value is generated by the noise module passed to the SetMod() method.

Use a negative latitude if the input value is located on the southern hemisphere.

Use a negative longitude if the input value is located on the western hemisphere.

class Sphere
const
double
GetValue
(
double lat
,
double lon
)

Meta