[cgma-dev] r4191 - cgm/trunk/test
jiangtao_ma at yahoo.com
jiangtao_ma at yahoo.com
Mon Oct 4 09:49:12 CDT 2010
Author: janehu
Date: 2010-10-04 09:49:12 -0500 (Mon, 04 Oct 2010)
New Revision: 4191
Added:
cgm/trunk/test/subtract.cpp
Log:
Added one testcase for subtractingon body into a two-volume-body.
Added: cgm/trunk/test/subtract.cpp
===================================================================
--- cgm/trunk/test/subtract.cpp (rev 0)
+++ cgm/trunk/test/subtract.cpp 2010-10-04 14:49:12 UTC (rev 4191)
@@ -0,0 +1,156 @@
+/**
+ * \file makept.cpp
+ *
+ * \brief makept, another simple C++ driver for CGM
+ *
+ * This program acts as a simple driver for CGM. It reads in a geometry,
+ * and performs varies checks for bodies, surfaces, curves and vertices.
+ */
+
+#undef NDEBUG
+#include <cassert>
+
+#include "GeometryModifyTool.hpp"
+#include "GeometryQueryTool.hpp"
+#include "OCCQueryEngine.hpp"
+#include "CubitMessage.hpp"
+#include "Body.hpp"
+#include "RefVolume.hpp"
+#include "RefFace.hpp"
+#include "RefEdge.hpp"
+#include "RefVertex.hpp"
+#include "CastTo.hpp"
+#include "OCCModifyEngine.hpp"
+#include "OCCLump.hpp"
+#include "OCCBody.hpp"
+#include "OCCSurface.hpp"
+#include "OCCCurve.hpp"
+#include "OCCShell.hpp"
+#include "TopoDS_Shape.hxx"
+#include "InitCGMA.cpp"
+
+#ifndef SRCDIR
+# define SRCDIR .
+#endif
+
+#define STRINGIFY_(X) #X
+#define STRINGIFY(X) STRINGIFY_(X)
+#define SRCPATH STRINGIFY(SRCDIR) "/"
+
+// forward declare some functions used and defined later
+CubitStatus read_geometry(int, const char **, bool local = false);
+CubitStatus make_Point();
+// macro for printing a separator line
+#define PRINT_SEPARATOR PRINT_INFO("=======================================\n");
+
+
More information about the cgma-dev
mailing list