ug4
file_io_art.cpp File Reference
#include <fstream>
#include <vector>
#include <iostream>
#include <cstring>
#include "file_io_art.h"
#include "lib_grid/lg_base.h"
#include "lib_grid/algorithms/geom_obj_util/geom_obj_util.h"
#include "lib_grid/algorithms/attachment_util.h"

Namespaces

 ug
 the ug namespace
 

Functions

template<class TType >
static void ug::CollectUniqueObjects (vector< TType > &vecOut, const vector< TType > &vecIn)
 
static Prism * ug::CreatePrism (Grid &grid, vector< Triangle * > &vTris, vector< Quadrilateral * > &vQuads, Grid::VertexAttachmentAccessor< APosition > &aaPos)
 
static Pyramid * ug::CreatePyramid (Grid &grid, vector< Triangle * > &vTris, vector< Quadrilateral * > &vQuads, Grid::VertexAttachmentAccessor< APosition > &aaPos)
 
static Tetrahedron * ug::CreateTetrahedron (Grid &grid, vector< Triangle * > &vTris, Grid::VertexAttachmentAccessor< APosition > &aaPos)
 
bool ug::LoadGridFromART (Grid &grid, const char *filename, ISubsetHandler *pSH=NULL, AVector3 &aPos=aPosition)
 loads a grid from art More...
 
static void ug::ReadIndices (vector< int > &vIndsOut, char *buffer, const char *delim, bool newTokBuff=true)
 
bool ug::SaveGridToART (Grid &grid, const char *filename, ISubsetHandler *pSH=NULL, AVector3 &aPos=aPosition)
 saves a grid to art More...