/********************************************************************/ /* Copyright (c) 2017 System fugen G.K. and Yuzi Mizuno */ /* All rights reserved. */ /* Granted under the MIT license (see mg/MGCL.h for detail) */ /********************************************************************/ #include "MGCLStdAfx.h" #include "mg/tolerance.h" #include "mg/Unit_vector.h" #include "mg/MGStl.h" #include "Tl2/TL2Triangle.h" #include "Tl2/TL2Triangles.h" //Construct a surface or a face whose data are (u,v). MGStl::MGStl( const mgTL2Triangles& tris///& tlDataVector){ triangleMap VertexMap; std::vector::const_iterator i=tlDataVector.begin(), iend=tlDataVector.end(); for(;i!=iend; i++) AddTL2Data(*i,VertexMap); } ///mgTL2TrianglesをMGStlに追加する void MGStl::AddTL2Data( double error, ///