[cgma-dev] r5377 - cgm/trunk/test

jiangtao_ma at yahoo.com jiangtao_ma at yahoo.com
Fri Feb 3 11:30:55 CST 2012


Author: janehu
Date: 2012-02-03 11:30:54 -0600 (Fri, 03 Feb 2012)
New Revision: 5377

Added:
   cgm/trunk/test/loft.cpp
Modified:
   cgm/trunk/test/Makefile.am
Log:
Testcase for bug #257 fix. code check in is at r5376.

Modified: cgm/trunk/test/Makefile.am
===================================================================
--- cgm/trunk/test/Makefile.am	2012-02-03 17:22:24 UTC (rev 5376)
+++ cgm/trunk/test/Makefile.am	2012-02-03 17:30:54 UTC (rev 5377)
@@ -22,7 +22,7 @@
 endif
 endif
 if build_OCC
-  TESTS += attribute_to_file attribute_to_buffer modify subtract makept offset_curves r_w test_occ operation brick_occ merge_occ point_project imprint_bug
+  TESTS += attribute_to_file attribute_to_buffer modify subtract makept loft offset_curves r_w test_occ operation brick_occ merge_occ point_project imprint_bug
 endif
 
 check_PROGRAMS = $(TESTS)
@@ -37,6 +37,7 @@
 
 makept_SOURCES = makept.cpp
 offset_curves_SOURCES = offset_curves.cpp
+loft_SOURCES = loft.cpp
 modify_SOURCES = modify.cpp
 imprint_bug_SOURCES = imprint_bug.cpp
 subtract_SOURCES = subtract.cpp
@@ -139,6 +140,7 @@
         imprint.brep \
         BsplineCurve.occ \
         curves.brep \
+        loft.brep \
         bug.brep \
         subtract.occ \
         glue.occ \

Added: cgm/trunk/test/loft.cpp
===================================================================
--- cgm/trunk/test/loft.cpp	                        (rev 0)
+++ cgm/trunk/test/loft.cpp	2012-02-03 17:30:54 UTC (rev 5377)
@@ -0,0 +1,137 @@
+/**
+ * \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 "GeometryModifyEngine.hpp"
+#include "GeometryModifyTool.hpp"
+#include "GeometryQueryTool.hpp"
+#include "CubitMessage.hpp"


More information about the cgma-dev mailing list