PathEngine home previous: iMesh::generatePathfindPreprocessFor()next: iMesh::generateRandomPositionInSection()
Contents, API Reference, Interfaces, iMesh, generateRandomPosition

iMesh::generateRandomPosition()

Description

Generates a random position on the surface of this mesh.

Syntax

cPosition generateRandomPosition() const;

Return Value

A valid, randomly generated position on this mesh.

Remarks

You can use this method in conjunction with iPathEngine::setRandomSeed() to generate a deterministic sequence of positions for benchmarking or for stress testing.

See Also

iMesh::generateRandomPositionLocally()

C# Mapping

PathEngine.Position generateRandomPosition();

Java Mapping

Position generateRandomPosition();

Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: iMesh::generateRandomPositionInSection()