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

janehu at mcs.anl.gov janehu at mcs.anl.gov
Tue Jan 21 13:56:22 CST 2014


Author: janehu
Date: 2014-01-21 13:56:22 -0600 (Tue, 21 Jan 2014)
New Revision: 6115

Added:
   cgm/trunk/test/multifaceted-2trisPerSurface-works.cxx
   cgm/trunk/test/multifaceted-works.cxx
   cgm/trunk/test/multifaceted.cpp
Modified:
   cgm/trunk/test/Makefile.am
Log:
Adding three tests for facet engine creating surfaces from facets. Provided by David Thompson.

Modified: cgm/trunk/test/Makefile.am
===================================================================
--- cgm/trunk/test/Makefile.am	2014-01-21 16:28:34 UTC (rev 6114)
+++ cgm/trunk/test/Makefile.am	2014-01-21 19:56:22 UTC (rev 6115)
@@ -16,7 +16,7 @@
   TESTS += webcut hollow_acis brick_acis merge_acis AngleCalc_acis CreateGeometry_acis GraphicsData_acis 
 else
 if WITH_CUBIT
-  TESTS += webcut merge_acis brick_acis spheres cylinders
+  TESTS += webcut merge_acis brick_acis spheres cylinders multifaceted_works multifaceted_2trisPerSurface_works multifaceted
 else
   TESTS += brick_facet merge_facet
 if DEV
@@ -25,7 +25,7 @@
 endif
 endif
 if build_OCC
-  TESTS += attribute_to_file loft offset_curves point_project imprint_bug subtract test_occ brick_occ merge_occ r_w operation section AngleCalc_occ  CreateGeometry_occ GraphicsData_occ brick_facet merge_facet spheres cylinders
+  TESTS += attribute_to_file loft offset_curves point_project imprint_bug subtract test_occ brick_occ merge_occ r_w operation section AngleCalc_occ  CreateGeometry_occ GraphicsData_occ brick_facet merge_facet spheres cylinders multifaceted_works multifaceted_2trisPerSurface_works multifaceted
 endif
 
 check_PROGRAMS = $(TESTS)
@@ -45,6 +45,9 @@
 libcgm_test_la_SOURCES = TestUtilities.hpp \
                          TestUtilities.cpp
 
+multifaceted_2trisPerSurface_works_SOURCES = multifaceted-2trisPerSurface-works.cxx
+multifaceted_works_SOURCES = multifaceted-works.cxx
+multifaceted_SOURCES = multifaceted.cpp
 cylinders_SOURCES = cylinders.cpp
 spheres_SOURCES = spheres.cpp
 webcut_SOURCES = webcut.cpp
@@ -167,6 +170,9 @@
         fillet.occ \
         curves.brep \
         spheres.sat \
+        multifaceted-2trisPerSurface-works.stl \
+        multifaceted-works.stl \
+        multifaceted.stl \
 	mmgr.log
  
 

Added: cgm/trunk/test/multifaceted-2trisPerSurface-works.cxx
===================================================================
--- cgm/trunk/test/multifaceted-2trisPerSurface-works.cxx	                        (rev 0)
+++ cgm/trunk/test/multifaceted-2trisPerSurface-works.cxx	2014-01-21 19:56:22 UTC (rev 6115)
@@ -0,0 +1,126 @@
+#include "AppUtil.hpp"
+#include "CGMApp.hpp"
+#include "GeometryQueryTool.hpp"


More information about the cgma-dev mailing list