PathEngine home previous: iMesh::renderUnobstructedSpaceBoundaries()next: iMesh::resolvePositionsNear3DPoint()
Contents, API Reference, Interfaces, iMesh, renderUnsplitBoundaries

iMesh::renderUnsplitBoundaries()

Description

A helper method for visual confirmation of boundaries split off for pathfind space optimisation.

Syntax

void renderUnsplitBoundaries(const iShape& shape, int32_t originX, int32_t originY, iRender3DLinesCallBack& callBack) const;

Parameters

shape The agent shape for which expanded regions should be rendered.
originX X coordinate for the rendering origin.
originY Y coordinate for the rendering origin.
callBack An instance of Interface iRender3DLinesCallBack to call back to with coordinates for line vertices.

Requirements

Unobstructed space must be present for the specified agent shape.

Remarks

This helper method is provided to enable you to implement visualisation of primitives within your own 3D engine.

Boundary lines are drawn corresponding to regions identified and split off as 'topologically local', if any.

This helper method, together with iMesh::renderSplitBoundaries(), are provided essentially for visual confirmation of the regions split off by the 'small convex obstacles' optimisation.

See Also

iMesh::renderUnobstructedSpaceBoundaries(), iMesh::renderLineOnGround()

C# Mapping

void renderUnsplitBoundaries(Shape shape, int originX, int originY, Render3DLinesCallBack callBack);

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