|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hermit.geometry.generator.RandomGenerator
public class RandomGenerator
A data generator which generates evenly-distributed random points.
Constructor Summary | |
---|---|
RandomGenerator()
|
Method Summary | |
---|---|
Point[] |
createPoints(Region region,
int num)
Create a set of data points within the given region. |
Point[] |
getReferencePoints()
Get reference points, if any, associated with the most recently generated data set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RandomGenerator()
Method Detail |
---|
public Point[] createPoints(Region region, int num)
createPoints
in interface Generator
region
- The region of the plane in which the points
must lie.num
- The desired number of points.
public Point[] getReferencePoints()
getReferencePoints
in interface Generator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |