Back to Adaptive Vision Library website

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

RandomPoint


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 points
inSeed Optional<int> NIL Random seed
outPoint Point2D&