RandomPoint


Creates random point inside given box.

Syntax

C++
Python
 
def RandomPoint(
	state: RandomState,
	inBox: Box,
	/,
	*,
	inSeed: int | None = None
)
-> outPoint: Point2D

Parameters

Name Type Default Description
Input will be modified ioState RandomState State of generator
Input value inBox Box Bounding box of generated point
Input value inSeed int | None None Random seed
Output value outPoint Point2D