PathEngine home previous: Interface iPathEnginenext: iPathEngine::buildMeshAroundObstructionBoundaries()
Contents, API Reference, Interfaces, iPathEngine, buildExpanded2DObstaclesContainerMesh



Helper method for building an iMesh instance that can be used for the purposes of visualising the boundaries of iExpanded2DObstacles instances.


iMesh* buildExpanded2DObstaclesContainerMesh(const iExpanded2DObstacles* preExpanded, iShape* expandShape);


preExpanded The Interface iExpanded2DObstacles instance for which a container mesh should be built.
expandShape An expansion shape for generating unobstructed space preprocess. This must have exactly the same vertex coordinates as the shape originally used to generate the iExpanded2DObstacles instance.

Return Value

A newly constructed square iMesh instance that contains the expanded obstacle boundaries.


As well as a simple square mesh, this method also generates unobstructed space boundaries, which include the pre-expanded boundaries from the iExpanded2DObstacles instance.

If you don't have the expansion shape coordinates originally supplied when building the iExpanded2DObstacles instance, then you can use iPathEngine::newShape_FromExpanded2DObstacles() to generate a suitable expansion shape.

C# Mapping

Mesh buildExpanded2DObstaclesContainerMesh(Expanded2DObstacles preExpanded, Shape expandShape);

Java Mapping

Mesh buildExpanded2DObstaclesContainerMesh(Expanded2DObstacles preExpanded, Shape expandShape);

Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: iPathEngine::buildMeshAroundObstructionBoundaries()