cpe::mesh_io Class Reference

Helper class for I/O mesh. More...

Static Public Member Functions

static mesh load_off_file (const std::string &filename)
 load a off file More...
 
static mesh load_obj_file (const std::string &filename)
 load a obj file More...
 

Detailed Description

Helper class for I/O mesh.

Member Function Documentation

mesh cpe::mesh_io::load_obj_file ( const std::string &  filename)
static
mesh cpe::mesh_io::load_off_file ( const std::string &  filename)
static

load a off file

References cpe::mesh::get_connectivity(), cpe::mesh::get_vertices(), MACRO_EXCEPTION_PARAMETER, cpe::vec3::x(), cpe::vec3::y(), and cpe::vec3::z().

Referenced by cpe::mesh::load_file().

+ Here is the call graph for this function:


The documentation for this class was generated from the following files: