PathEngine home previous: iMesh::generateUnobstructedSpaceFor()next: iMesh::get3DFaceAtPosition()
Contents, API Reference, Interfaces, iMesh, generateUnobstructedSpaceFor_WithPreExpanded



Generates a representation of (expanded) unobstructed space boundaries for the specified agent shape, on this mesh.


void generateUnobstructedSpaceFor_WithPreExpanded(const iShape& shape, const char *const* options, const iExpanded2DObstacles* const * preExpanded_Buffer, uint32_t preExpanded_BufferEntries);


shape The shape for which unobstructed space should be generated.

This parameter enables optional attributes to be passed in to control aspects of the unobstructed space generation, if special behaviour is desired.

If special bevaviour is desired, then see Handling Attributes for general information about passing attributes, and Unobstructed Space Generation Attributes for a list of the attributes that can be passed in specifically to this method.

If no special behaviour is desired then you can just pass zero in for this parameter, to indicate no attributes.

preExpanded_Buffer, preExpanded_BufferEntries (See Passing Arrays.) Pointers to iExpanded2DObstacles objects for which boundaries should be included in the resulting unobstructed space.


Unobstructed space must not already be present for the shape on this mesh.


This method essentially does the same thing as iMesh::generateUnobstructedSpaceFor(), except that:

The shape passed in for the generation of each iExpanded2DObstacles instance must correspond to the shape being passed in to this method.

See Also

iMesh::generateUnobstructedSpaceFor(), iMesh::releaseUnobstructedSpaceFor(), iMesh::shapeCanCollide(), iMesh::shapeHasCombinedUnobstructedSpace()

C# Mapping

void generateUnobstructedSpaceFor_WithPreExpanded(Shape shape, string[] options, Expanded2DObstacles[] preExpanded);

Documentation for PathEngine release 6.03 - Copyright © 2002-2021 PathEnginenext: iMesh::get3DFaceAtPosition()