Back to Adaptive Vision Library website

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

RandomPoint3D


Creates random 3D point inside given box

Syntax

C++
C#
 
void avl::RandomPoint3D
(
	RandomState& ioState,
	const float& inMinX,
	const float& inMaxX,
	const float& inMinY,
	const float& inMaxY,
	const float& inMinZ,
	const float& inMaxZ,
	atl::Optional<int> inSeed,
	avl::Point3D& outPoint3D
)

Parameters

Name Type Default Description
ioState RandomState& Object used to maintain state of the function.
inMinX const float&
inMaxX const float&
inMinY const float&
inMaxY const float&
inMinZ const float&
inMaxZ const float&
inSeed Optional<int> NIL Random seed
outPoint3D Point3D&