Back to Adaptive Vision Library website

You are here: Start » Function Reference » Geometry 3D Basics » RandomPoint3D

RandomPoint3D


Header:AVL.h
Namespace:avl

Creates random 3D point inside given box.

Syntax

C++
C#
 
void avl::RandomPoint3D
(
	RandomState& ioState,
	const avl::Box3D& inBox3D,
	atl::Optional<int> inSeed,
	avl::Point3D& outPoint3D
)

Parameters

Name Type Default Description
ioState RandomState& Object used to maintain state of the function.
inBox3D const Box3D& Bounding box of generated point
inSeed Optional<int> NIL Random seed
outPoint3D Point3D&