HE_Mesh2014  2.0.11
Public Member Functions | Private Attributes | List of all members
wblut.math.WB_RandomCircle Class Reference

Public Member Functions

 WB_RandomCircle ()
 
WB_RandomCircle setSeed (final long seed)
 
WB_Point nextPoint ()
 
WB_Vector nextVector ()
 

Private Attributes

final WB_MTRandom randomGen
 

Detailed Description

Random generator for vectors uniformly distributed on the unit circle.

Author
Frederik Vanhoutte, W:Blut

Constructor & Destructor Documentation

wblut.math.WB_RandomCircle.WB_RandomCircle ( )

Instantiates a new w b_ random disc.

Member Function Documentation

WB_Point wblut.math.WB_RandomCircle.nextPoint ( )

Next point.

Returns
next random WB_Point on unit circle
WB_Vector wblut.math.WB_RandomCircle.nextVector ( )

Next vector.

Returns
next random WB_Vector on unit circle
WB_RandomCircle wblut.math.WB_RandomCircle.setSeed ( final long  seed)

Set random seed.

Parameters
seedseed
Returns
self

Member Data Documentation

final WB_MTRandom wblut.math.WB_RandomCircle.randomGen
private

The random gen.


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