Start » Filter Reference » Geometry 2D » Geometry 2D Basics » CreateRandomPointArray
Module: | FoundationLite |
---|
Creates array of random points inside given box.
Name | Type | Range | Description | |
---|---|---|---|---|
inLength | Integer | 1 - + | Length of output array | |
inBox | Box | Bounding box of generated point | ||
inStep | Real | 0.0001 - | Minimal difference between two generated values on each coordinate | |
inSeed | Integer* | Random seed | ||
outArray | Point2DArray |
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Value of inStep is greater than height of box in CreateRandomPointArray. |
DomainError | Value of inStep is greater than width of box in CreateRandomPointArray. |
Complexity Level
This filter is available on Basic Complexity Level.