Back to FabImage Library website

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

RandomPoint


Header: FIL.h
Namespace: fil
Module: FoundationLite

Creates random point inside given box.

Syntax

C++
C#
 
void fil::RandomPoint
(
	RandomState& ioState,
	const fil::Box& inBox,
	ftl::Optional<int> inSeed,
	fil::Point2D& outPoint
)

Parameters

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