xmsgrid
1.0
|
The purpose of this tutorial is to provide explanation on how to use File IO with xmsgrid. The XmUGrid class does not have file IO members. Functions are available in the files named XmUGridUtils to provide File IO.
This example shows how to write an exisiting UGrid to an ASCII file using function xms::XmWriteUGridToAsciiFile(). This function takes a XmUGrid and filename with path. The testing code for this example is XmUGridUtilsTests::testWriteThenReadUGridFileToAscii.
This example shows how to read a UGrid from an ASCII file using function xms::XmReadUGridFromAsciiFile. This function takes a filename with path and returns an XmUGrid. The testing code for this example is XmUGridUtilsTests::testWriteThenReadUGridFileToAscii.