Synthia
Generic and flexible data structure generator
examples.hypersphere.Variation2 Class Reference

Detailed Description

Generates two-dimensional points lying at right angles along a randomly selected circle.

The points are generated by composing pickers as in the following diagram:

Diagram

This variation shows the use of the Freeze picker: a random float value between 1 and 3 is picked for the radius, and this radius will then be used for all points produced by the HyperspherePicker. The angle is randomly selected among four values lying at intervals of π/2. As a result, different seeds will produce sets of points lying at a different distance from the origin, but the same distance for each picker instance.

Definition at line 42 of file Variation2.java.

Static Public Member Functions

static void main (String[] args)
 

Member Function Documentation

◆ main()

static void examples.hypersphere.Variation2.main ( String[]  args)
static

Definition at line 46 of file Variation2.java.


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