CreateRandomPointArray


Creates array of random points inside given box.

Syntax

C++
Python
 
def CreateRandomPointArray(
	inBox: Box,
	/,
	*,
	inLength: int = 10,
	inStep: float = 1.0,
	inSeed: int | None = None
)
-> outArray: list[Point2D]

Parameters

Name Type Range Default Description
Input value inLength int 1 - + 10 Length of output array
Input value inBox Box Bounding box of generated point
Input value inStep float 0.0001 - 1.0 Minimal difference between two generated values on each coordinate
Input value inSeed int | None None Random seed
Output value outArray list[Point2D]