[cgma-dev] r5271 - cgm/trunk/itaps

jiangtao_ma at yahoo.com jiangtao_ma at yahoo.com
Wed Dec 21 10:50:25 CST 2011


Author: janehu
Date: 2011-12-21 10:50:25 -0600 (Wed, 21 Dec 2011)
New Revision: 5271

Added:
   cgm/trunk/itaps/copy_attrib.cpp
Modified:
   cgm/trunk/itaps/Makefile.am
Log:
Added testcase from Rajeev for copy attributes.

Modified: cgm/trunk/itaps/Makefile.am
===================================================================
--- cgm/trunk/itaps/Makefile.am	2011-12-19 18:23:41 UTC (rev 5270)
+++ cgm/trunk/itaps/Makefile.am	2011-12-21 16:50:25 UTC (rev 5271)
@@ -8,14 +8,14 @@
 
 TESTS = test_edge_orient
 if build_ACIS
-  TESTS += testgeom
+  TESTS += testgeom copy_attrib
 else
 if WITH_CUBIT
-  TESTS += testgeom
+  TESTS += testgeom copy_attrib
 endif
 endif
 if build_OCC
-  TESTS += testgeom_occ
+  TESTS += testgeom_occ copy_attrib
 endif
 
 
@@ -66,6 +66,8 @@
 
 chaman_SOURCES = chaman.cc
 
+copy_attrib_SOURCES = copy_attrib.cpp
+
 if USE_MPI
   check_PROGRAMS += partest
   partest_SOURCES = partest.cpp
@@ -94,7 +96,7 @@
 
 EXTRA_DIST = testgeom.sat size.sat
 
-CLEANFILES = iGeom-Defs.inc testout.sat mmgr.log step_import.log
+CLEANFILES = iGeom-Defs.inc testout.sat mmgr.log step_import.log test.occ
 DISTCLEANFILES = iGeom_FCDefs.h
 
 FPFX=iGeom

Added: cgm/trunk/itaps/copy_attrib.cpp
===================================================================
--- cgm/trunk/itaps/copy_attrib.cpp	                        (rev 0)
+++ cgm/trunk/itaps/copy_attrib.cpp	2011-12-21 16:50:25 UTC (rev 5271)
@@ -0,0 +1,175 @@
+#include "iGeom.h"
+#include <vector>
+#include <iostream>
+#include <stdio.h>
+#include <fstream>


More information about the cgma-dev mailing list