Back to Aurora Vision Library website

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

RandomPoint


Header: AVL.h
Namespace: avl
Module: FoundationLite

Creates random point inside given box.

Syntax

C++
C#
 
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&