ViennaGrid - The Vienna Grid Library  2.1.0
Public Member Functions
neper_tess_reader Struct Reference

Reader for Neper .tess files. More...

#include <neper_tess_reader.hpp>

Public Member Functions

template<typename MeshT >
int operator() (MeshT &mesh_obj, std::string const &filename) const
 The functor interface triggering the read operation. Segmentations are not supported in this version.
template<typename MeshT >
void operator() (MeshT &mesh_obj, std::string const &filename, std::vector< std::pair< typename viennagrid::result_of::point< MeshT >::type, int > > &seed_points) const
 The functor interface triggering the read operation. Segmentations are not supported in this version.

Detailed Description

Reader for Neper .tess files.

See http://neper.sourceforge.net/docs/neper.pdf page 49-52 for a description of the file format


Member Function Documentation

int operator() ( MeshT &  mesh_obj,
std::string const &  filename 
) const [inline]

The functor interface triggering the read operation. Segmentations are not supported in this version.

Parameters:
mesh_objThe mesh where the file content is written to
filenameName of the file
void operator() ( MeshT &  mesh_obj,
std::string const &  filename,
std::vector< std::pair< typename viennagrid::result_of::point< MeshT >::type, int > > &  seed_points 
) const [inline]

The functor interface triggering the read operation. Segmentations are not supported in this version.

Parameters:
mesh_objThe mesh where the file content is written to
filenameName of the file
seed_pointsA container for seed points, output parameter

The documentation for this struct was generated from the following file: