Back to FabImage Library website

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

RandomPoint3D


Header: FIL.h
Namespace: fil
Module: Vision3DLite

Creates random 3D point inside given box.

Syntax

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

Parameters

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