geolib2
import.h
Go to the documentation of this file.
1 #ifndef GEOLIB_IO_IMPORT_H_
2 #define GEOLIB_IO_IMPORT_H_
3 
4 #include "geolib/datatypes.h"
5 
6 namespace geo {
7 
8 namespace io {
9 
10 ShapePtr readMeshFile(const std::string& filename, const geo::Vec3& scale);
11 
12 ShapePtr readMeshFile(const std::string& filename, double scale = 1.0)
13 {
14  return readMeshFile(filename, geo::Vec3(scale));
15 }
16 
17 }
18 
19 }
20 
21 #endif
geo::ShapePtr
std::shared_ptr< Shape > ShapePtr
Definition: datatypes.h:12
std::string
std::shared_ptr
geo
Definition: Box.h:6
geo::Vec3T
Definition: math_types.h:13
datatypes.h
geo::io::readMeshFile
ShapePtr readMeshFile(const std::string &filename, const geo::Vec3 &scale)
Definition: import.cpp:112