PathEngine home previous: iTestBed::drawAgent()next: iTestBed::drawAgentHeading()
Contents, API Reference, Interfaces, iTestBed, drawAgentExpansion

iTestBed::drawAgentExpansion()

Description

Draws the edge of the expanded region for a specified agent with a specified shape.

Syntax

void drawAgentExpansion(iAgent* agent, const iShape* expandedby);
        

Parameters

agent The agent to draw an expanded region for. This must be an agent placed on the current mesh.
expandedby The shape to expand by.

Remarks

The boundaries of the region are drawn in lines on the surface of the current mesh, in the testbed's current colour.

Also draws the edges of any 'external faces' that are completely enclosed by the agent's expansion.
Note that the expanded region does not have to contain areas covered by the expansion of the mesh edges, and will 'clip' against external vertices.

See Also

iTestBed::setColour(), iTestBed::setColourRGB()
Documentation for PathEngine release 5.29 - Copyright © 2002-2012 PathEnginenext: iTestBed::drawAgentHeading()