PathEngine home previous: iMesh::saveConnectedRegionPreprocessFor()next: iMesh::saveGroundEx()
Contents, API Reference, Interfaces, iMesh, saveGround

iMesh::saveGround()

Description

Saves the underlying ground for this iMesh (backward compatibility version).

Syntax

void saveGround(const char* format, bool includeMapping, iOutputStream& outputStream) const;

Parameters

format A C string specifying the format in which data should be output. Currently this can be "xml" or "tok" (lower case).
This format string is not retained after the call and can subsequently be safely deleted.
includeMapping Specifies whether the mapping to 2D should be saved out with the mesh.
Storing this mapping with the mesh ensures that cPositions stored for this mesh will remain valid if the way PathEngine generates this mapping changes with a new release.
outputStream The mesh will be saved to this output stream.

Remarks

This method is included for backward compatibility, and effectively just calls on to iMesh::saveGroundEx() with the includeTranslationTo2D and includePartitioning parameters both set to false.

C# Mapping

void saveGround(string format, bool includeMapping, OutputStream outputStream);

Java Mapping

void saveGround(String format, boolean includeMapping, OutputStream outputStream);

Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: iMesh::saveGroundEx()