public bool TestMesh(TriMesh mesh, EnumMatlabMesh type) { if (mesh == null) { return(false); } switch (type) { case EnumMatlabMesh.GetLap: Test1(); break; case EnumMatlabMesh.OutPutLap: Test2(); break; } return(true); }
public bool TestMesh(TriMesh mesh, EnumMatlabMesh type) { if (mesh == null) return false; switch (type) { case EnumMatlabMesh.GetLap: Test1(); break; case EnumMatlabMesh.OutPutLap: Test2(); break; } return true; }