Back to Adaptive Vision Library website

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

RandomPoint


Header:AVL.h
Namespace:avl

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
ioState RandomState& Object used to maintain state of the function.
inBox const Box& Bounding box of generated point
inSeed Optional<int> NIL Random seed
outPoint Point2D&