wiki:public/doc-auto/by_ext/gli/H_surface
Last modified 3 years ago Last modified on 01/21/16 13:49:10

Input file gli keyword #SURFACE

Description

TODO: Add description.

Parameters

TODO: Add parameters.

Documentation from doxygen

None.

Used in benchmarks

Source code reading this keyword from Input files

FileIO/OGSIOVer4.cpp line 505

 505: 		std::cerr << "*** readSurfaces input stream error " << "\n";
 506: 		return std::string("");
 507: 	}
 508: 	std::string tag("#SURFACE");
 509: 
 510: 	std::vector<Polygon*> polygon_vec;
 511: 
 509: 
 510: 	std::vector<Polygon*> polygon_vec;
 511: 
 512: 	while (!in.eof() && tag.find("#SURFACE") != std::string::npos)
 513: 	{
 514: 		size_t n_polygons (polygon_vec.size());
 515: 		tag = readSurface(in, polygon_vec, sfc_vec, sfc_names, ply_vec, ply_vec_names, pnt_vec,

 641: 
 642: 	std::vector<Surface*>* sfc_vec(new std::vector<Surface*>);
 643: 	std::map<std::string,size_t>* sfc_names (new std::map<std::string,size_t>);
 644: 	if (tag.find("#SURFACE") != std::string::npos && in)
 645: 	{
 646: 		std::cout << "read surfaces from stream ... " << std::flush;
 647: 		tag = readSurfaces(in, *sfc_vec, *sfc_names, *ply_vec, *ply_names, *pnt_vec, path, errors);

GEO/geo_sfc.cpp line 439

 439: 		return;
 440: 	else
 441: 	{
 442: 		fprintf(gli_file,"%s\n","#SURFACE");
 443: 		//-----------------------------------------------------------------
 444: 		fprintf(gli_file," %s\n","$ID");
 445: 		fprintf(gli_file,"  %ld\n",id);

1003: 			break;
1004: 
1005: 		//----------------------------------------------------------------------
1006: 		if(line_string.find("#SURFACE") != string::npos) // keyword found
1007: 		{
1008: 			m_surface = new Surface();
1009: 			m_surface->AssignColor();

Last modified: 2016-01-21 13:49:00.597294

This page has been generated automatically. Do not edit it manually! It will be overwritten in regular intervals.

If you want to edit the handwritten part of this page, please do so here.