PathEngine home previous: iPathEngine::loadExpanded2DObstacles()next: iPathEngine::loadMeshFromBuffer()
Contents, API Reference, Interfaces, iPathEngine, loadFederation



Constructs an iMeshFederation object from a data buffer previously saved out by iMeshFederation::save().


iMeshFederation* loadFederation(const char* format, char const * data_Buffer, uint32_t data_BufferEntries);


format A C string specifying the format of the data in the buffer. Currently this can be "xml" or "tok" (lower case).
The format string pointer is not retained after the call and can subsequently be safely deleted.
data_Buffer, data_BufferEntries (See Passing Arrays.) The data buffer to load from.

Return Value

A newly created Interface iMeshFederation object, constructed from the persistent data passed in.

See Also


C# Mapping

MeshFederation loadFederation(string format, byte[] data);

Java Mapping

MeshFederation loadFederation(String format, byte[] data);

Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: iPathEngine::loadMeshFromBuffer()