PathEngine home | previous: | next: |
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. | ||
options |
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 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 |
Unobstructed space must not already be present for the shape on this mesh.
This method essentially does the same thing as
Pre-expanded (and potentially pre-optimised) boundaries can be included in the unobstructed space generation, with iExpanded2DObstacles instances.
Unlike
This is all currently very special cased and you can only use this (currently) with meshes that were
generated with
The shape passed in for the generation of each iExpanded2DObstacles instance must correspond to the shape being passed in to this method.
void generateUnobstructedSpaceFor_WithPreExpanded(Shape shape, string[] options, Expanded2DObstacles[] preExpanded); |
Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEngine | next: |