public class Cylinder extends Object
| Modifier and Type | Method and Description |
|---|---|
Module |
getModule()
Returns the noise module that is used to generate the output values.
|
double |
getValue(double angle,
double height)
Returns the output value from the noise module given the (angle, height) coordinates of the specified input value located on the surface of the cylinder.
|
void |
setModule(Module mod)
Sets the noise module that is used to generate the output values.
|
public Cylinder(Module mod)
mod - The noise module that is used to generate the output values.public Module getModule()
public void setModule(Module mod)
mod - The noise module that is used to generate the output values.
This noise module must exist for the lifetime of this object, until you pass a new noise module to this method.public double getValue(double angle,
double height)
angle - The angle around the cylinder's center, in degrees.height - The height along the @a y axis.Copyright © 2013–2017 Flow Powered. All rights reserved.