Back to Aurora Vision Library Lite website

You are here: Start » Geometry 2D » Geometry 2D Basics » RandomPoint

RandomPoint


Header: AVL.h
Namespace: avl

Creates random point inside given box.

Syntax

void avl::RandomPoint
(
	RandomState& ioState,
	const avl::Box& inBox,
	atl::Optional<int> inSeed,
	avl::Point2D& outPoint
)

Parameters

Name Type Default Description
Input will be modified ioState RandomState& Object used to maintain state of the function.
Input value inBox const Box& Bounding box of generated point
Input value inSeed Optional<int> NIL Random seed
Output value outPoint Point2D&