PathEngine home | previous: | next: |
Used to create free standing sets of obstacles, that can then be combined in collision contexts.
Defined in SDKRoot/code/externalAPI/i_pathengine.h.
Refer to this page for a discussion of run-time obstacle management.
iObstacleSet objects can be constructed with
iObstacleSet objects can be released explicitly by calling delete on the pointer or by calling the object's release() function.
A pointer to an iObstacleSet object must not be used after the object has been deleted.
Adds a specified agent to this obstacle set. | ||
Increments the internal reference count for this API object. | ||
Increments the internal reference count for this API object. | ||
Removes all agents. | ||
Checks the validity of preprocess, on obstacle sets marked for preprocessing. | ||
Returns true if the set is empty. | ||
Provided for iterating through the agents in the set. | ||
Returns an index for the connected region at a given position. This can be used to quickly determine the reachability between positions. | ||
Returns an index for the connected region for an agent's current position. | ||
Tells you how many agents are currently included in the set. | ||
Returns the number of distinct regions in connected region preprocess for the specified shape. | ||
Enables you to check whether there are any outstanding references on this object, other than the interface reference through which you are calling, and therefore whether this object will actually be deleted if you call its release method. | ||
Tells you if a specified agent is included in this set. | ||
Loads preprocess from persistent storage. | ||
Checks the validity of preprocess, on obstacle sets marked for preprocessing. | ||
Provided for iterating through the agents in an obstacle set. | ||
Releases the API object pointer. | ||
Removes a specified agent from this set. | ||
Restores an agent that was previously marked as excluded from collision state. | ||
Saves preprocess to persistent storage. | ||
Equivalent to calling getNumberOfAgents() | ||
Flags a specified agent as excluded from the obstacle set collision state, without invalidating cached state data. | ||
Enables the application to force generation of pathfind preprocess associated with the obstacle set, for preprocessed obstacle sets. | ||
Enables the application to force generation of pathfind preprocess associated with the obstacle set, for preprocessed obstacle sets. |
Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEngine | next: |