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

Public Member Functions

 WB_RandomDisk ()
 
WB_RandomDisk 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 disk.

Author
Frederik Vanhoutte, W:Blut

Constructor & Destructor Documentation

wblut.math.WB_RandomDisk.WB_RandomDisk ( )

Instantiates a new w b_ random disc.

Member Function Documentation

WB_Point wblut.math.WB_RandomDisk.nextPoint ( )

Next point.

Returns
next random WB_Point on unit disk
WB_Vector wblut.math.WB_RandomDisk.nextVector ( )

Next vector.

Returns
next random WB_Vector on unit disk
WB_RandomDisk wblut.math.WB_RandomDisk.setSeed ( final long  seed)

Set random seed.

Parameters
seedseed
Returns
self

Member Data Documentation

final WB_MTRandom wblut.math.WB_RandomDisk.randomGen
private

The random gen.


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