|
Navigation menu |
A portable, open-source, coherent noise-generating library for C++ |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
noise::model::Sphere Class Reference |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| Sphere () | |
| Constructor. | |
| Sphere (const module::Module &module) | |
| Constructor. | |
| const module::Module & | GetModule () const |
| Returns the noise module that is used to generate the output values. | |
| double | GetValue (double lat, double lon) const |
| 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. | |
| void | SetModule (const module::Module &module) |
| Sets the noise module that is used to generate the output values. | |
|
|
Constructor.
|
|
|
Returns the noise module that is used to generate the output values.
|
|
||||||||||||
|
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.
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. |
|
|
Sets the noise module that is used to generate the output values.
|
© 2003-2005 Jason Bevins
The libnoise source documentation was generated by doxygen 1.3.9.1