PathEngine home previous: iPathEngine::getVersionAttributes()next: iPathEngine::loadContentChunk()
Contents, API Reference, Interfaces, iPathEngine, largeStaticObstacleShapeIsValid

iPathEngine::largeStaticObstacleShapeIsValid()

Description

Checks whether coordinates are valid for iMesh::placeLargeStaticObstacle().

Syntax

bool largeStaticObstacleShapeIsValid(tSigned32 numberOfPoints, const tSigned32* coordinateData, tSigned32 x, tSigned32 y);

Parameters

numberOfPointsThe number of vertices in the shape.
coordinateDataPoints to an array of tSigned32, of size numberOfPoints * 2. This array is copied, and can therefore be safely deleted after the call returns.
x The x coordinate of the shape root position.
y The y coordinate of the shape root position.

Return Value

Returns true if the shape is valid, otherwise false.
Documentation for PathEngine release 5.16 - Copyright © 2002-2008 PathEnginenext: iPathEngine::loadContentChunk()