PathEngine home previous: iObstacleSet::restoreTemporarilyIgnoredAgent()next: iObstacleSet::size()
Contents, API Reference, Interfaces, iObstacleSet, savePathfindPreprocessFor

iObstacleSet::savePathfindPreprocessFor()

Description

Saves preprocess to persistent storage.

Syntax

void savePathfindPreprocessFor(const iShape& shape, iOutputStream& os) const;

Parameters

shape The shape for which preprocess should be saved.
os An output stream to save the preprocess to.

Requirements

This obstacle set must have been marked for preprocessing, with the 'markForPreprocessing' creation attribute specifically.

Remarks

Use this method in conjunction with iObstacleSet::loadPathfindPreprocessFor() to avoid spending time generating preprocess for known obstacle sets.

Preprocess will be updated automatically before saving if not up to date when this method is called.

C# Mapping

void savePathfindPreprocessFor(Shape shape, OutputStream os);

Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: iObstacleSet::size()