Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | List of all members
LibNoise.Models.Line Class Reference

Model that maps the output of a module onto a line. More...

Public Member Functions

double GetValue (double p)
 Returns noise mapped to the given point along the length of the line. More...
 
 Line (IModule sourceModule)
 Initialises a new instance of the Line class. More...
 
void SetEndPoint (double x, double y, double z)
 Sets the end point of the line in 3D space. More...
 
void SetStartPoint (double x, double y, double z)
 Sets the start point of the line in 3D space. More...
 

Properties

bool Attenuate [get, set]
 Specifies whether to attenuate the noise. If true, the noise will approach 0.0 as the ends of the line are approached. More...
 
IModule SourceModule [get, set]
 The module from which to retrieve noise. More...
 

Detailed Description

Model that maps the output of a module onto a line.

Constructor & Destructor Documentation

LibNoise.Models.Line.Line ( IModule  sourceModule)
inline

Initialises a new instance of the Line class.

Parameters
sourceModuleThe module from which to retrieve noise.

Member Function Documentation

double LibNoise.Models.Line.GetValue ( double  p)
inline

Returns noise mapped to the given point along the length of the line.

void LibNoise.Models.Line.SetEndPoint ( double  x,
double  y,
double  z 
)
inline

Sets the end point of the line in 3D space.

void LibNoise.Models.Line.SetStartPoint ( double  x,
double  y,
double  z 
)
inline

Sets the start point of the line in 3D space.

Property Documentation

bool LibNoise.Models.Line.Attenuate
getset

Specifies whether to attenuate the noise. If true, the noise will approach 0.0 as the ends of the line are approached.

IModule LibNoise.Models.Line.SourceModule
getset

The module from which to retrieve noise.


The documentation for this class was generated from the following file: