Returns a flag indicating whether the output value is to be attenuated (moved toward 0.0) as the ends of the line segment are approached by the input value.
Returns the noise module that is used to generate the output values.
Returns the output value from the noise module given the one-dimensional coordinate of the specified input value located on the line segment.
Sets a flag indicating that the output value is to be attenuated (moved toward 0.0) as the ends of the line segment are approached.
Sets the position ( @a x, @a y, @a z ) of the end of the line segment to choose values along.
Sets the noise module that is used to generate the output values.
Sets the position ( @a x, @a y, @a z ) of the start of the line segment to choose values along.
@addtogroup libnoise @{ @addtogroup models @{ Model that defines the displacement of a line segment.
This model returns an output value from a noise module given the one-dimensional coordinate of an input value located on a line segment, which can be used as displacements.
This class is useful for creating: - roads and rivers - disaffected college students
To generate an output value, pass an input value between 0.0 and 1.0 to the GetValue() method. 0.0 represents the start position of the line segment and 1.0 represents the end position of the line segment.