GeoTessCPPExamples  2.0
Functions
PopulateModel2D.cc File Reference
#include "CPPUtils.h"
#include "CpuTimer.h"
#include "GeoTessGrid.h"
#include "GeoTessModel.h"
#include "GeoTessPosition.h"

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

This file contains an example application that illustrate how to populate a 2D model with data. It loads a existing GeoTessGrid object from a file, populates it with information only on the surface of the model, writes the model to a file, reloads the model from file and interrogates it for basic information.

The program takes one command line argument which specifies the full path to the file GeoTessModels/crust20.geotess that was delivered with the GeoTess package.

Definition at line 55 of file PopulateModel2D.cc.