/****************************************************************/ /* Copyright (c) 2017 by System fugen G.K. */ /* All rights reserved. */ /****************************************************************/ ////////// //A class that contains the necessary input parameter to draw curves and surfaces #include "MGCLStdAfx.h" #include "mg/drawParam.h" #include "mg/Ifstream.h" #include "mg/Ofstream.h" #include "mg/Tolerance.h" #include "tl2/TlInputParam.h" void MGDrawParam::build_crv_srf_tolerance( double curve_tolerance,//Maximum deviation allowed to approximate curves. double surface_tolerance//Maximum deviation allowed to approximate surfaces. ){ double wczero=MGTolerance::wc_zero(); if(curve_tolerance