|
oevislib_net
0.14.3.0
|
Functions | |
| int | oevislib_net.Random.Get (Range inRange) |
| Returns a random integer value in the provided range. | |
| int | oevislib_net.Random.Get (int inRangeStart=0, int inRangeEnd=100) |
| Returns a random integer value in the provided range. | |
| float | oevislib_net.Random.Get (Interval inInterval) |
| Returns a random float value in the provided interval. | |
| float | oevislib_net.Random.Get (float inIntervalStart=0.0f, float inIntervalEnd=1.0f) |
| Returns a random float value in the provided interval. | |
| Point2D | oevislib_net.Random.GetPoint (Interval inIntervalX, Optional< Interval > inIntervalY=null) |
| Returns a Point2D object with random coordinates included in the provided intervals. | |
| Point2Di | oevislib_net.Random.GetPosition (Range inRangeX, Optional< Range > inRangeY=null) |
| Returns a Point2Di object with random coordinates included in the provided intervals. | |
| Array< int > | oevislib_net.Random.GetArray (int inSize, int inRangeStart=0, int inRangeEnd=100) |
| Returns an array of random integers. | |
| Array< float > | oevislib_net.Random.GetArray (int inSize, float inIntervalStart=0.0f, float inIntervalEnd=1.0f) |
| Returns an array of random floats. | |
| Array< Point2D > | oevislib_net.Random.GetPointArray (int inSize, Interval inIntervalX, Optional< Interval > inIntervalY=null) |
| Returns an array of Point2D objects with random coordinates included in the provided intervals. | |
| Array< Point2Di > | oevislib_net.Random.GetPositionArray (int inSize, Range inRangeX, Optional< Range > inRangeY=null) |
| Returns an array of Point2Di objects with random coordinates included in the provided intervals. | |
|
inline |
Returns a random float value in the provided interval.
| inIntervalStart | Starting point of the input interval. |
| inIntervalEnd | Ending point of the input interval (included). The end point can be lower than the starting point. |
|
inline |
Returns a random integer value in the provided range.
| inRangeStart | Starting point of the input range. |
| inRangeEnd | Ending point of the input range (included). The end point can be lower than the starting point. |
|
inline |
Returns a random float value in the provided interval.
| inInterval | Input interval. The end point of the interval is included, and it can be lower than the starting point. |
|
inline |
Returns a random integer value in the provided range.
If the range is empty, the start value is returned.
| inRange | Input range. The end point of the range is included, and the range length can be negative. |
|
inline |
|
inline |
|
inline |
Returns a Point2D object with random coordinates included in the provided intervals.
| inIntervalX | Interval of the X coordinate. The end point of the interval is included, and it can be lower than the starting point. |
| inIntervalY | Interval of the Y coordinate. If Null, inIntervalX is used. |
|
inline |
Returns an array of Point2D objects with random coordinates included in the provided intervals.
| inSize | Size of the array. Range: [1, +inf). |
| inIntervalX | Interval of the X coordinates. The end point of the interval is included, and it can be lower than the starting point. |
| inIntervalY | Interval of the Y coordinates. If Null, inIntervalX is used. |
|
inline |
Returns a Point2Di object with random coordinates included in the provided intervals.
| inRangeX | Range of the X coordinate. The end point of the range is included, and it can be lower than the starting point. |
| inRangeY | Range of the Y coordinate. If Null, inRangeX is used. |
|
inline |
Returns an array of Point2Di objects with random coordinates included in the provided intervals.
| inSize | Size of the array. Range: [1, +inf). |
| inRangeX | Range of the X coordinate. The end point of the range is included, and it can be lower than the starting point. |
| inRangeY | Range of the Y coordinate. If Null, inRangeX is used. |