PathEngine home previous: iTestBed::drawSplitBoundaries()next: iTestBed::drawUnsplitBoundaries()
Contents, API Reference, Interfaces, iTestBed, drawSquareBounds

iTestBed::drawSquareBounds()

Description

Draws the boundaries of an axis aligned square region, as specified for some queries.

Syntax

void drawSquareBounds(const cPosition& start, int32_t distance);
        

Parameters

start The centre of the region. This must be a valid position on the current mesh.
distance The size of the region.
Must be greater than zero.

Remarks

The region will be drawn with lines on the surface of the mesh, in the testbed's current colour.

It can be expensive to call this method for large meshes or meshes with complicated ground geometry.

See Also

iTestBed::setColour(), iTestBed::setColourRGB()
Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: iTestBed::drawUnsplitBoundaries()