C# Class LibNoise.Models.Line

Show file Open project: MadoxLabs/NoiseTool

Public Methods

Method Description
GetValue ( double p ) : double

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

Line ( IModule sourceModule ) : System

Initialises a new instance of the Line class.

SetEndPoint ( double x, double y, double z ) : void

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

SetStartPoint ( double x, double y, double z ) : void

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

Method Details

GetValue() public method

Returns noise mapped to the given point along the length of the line.
public GetValue ( double p ) : double
p double
return double

Line() public method

Initialises a new instance of the Line class.
public Line ( IModule sourceModule ) : System
sourceModule IModule The module from which to retrieve noise.
return System

SetEndPoint() public method

Sets the end point of the line in 3D space.
public SetEndPoint ( double x, double y, double z ) : void
x double
y double
z double
return void

SetStartPoint() public method

Sets the start point of the line in 3D space.
public SetStartPoint ( double x, double y, double z ) : void
x double
y double
z double
return void