[cgma-dev] r5568 - cgm/trunk/geom/virtual

jvporter at wisc.edu jvporter at wisc.edu
Tue Jun 12 14:54:26 CDT 2012


Author: jvporter
Date: 2012-06-12 14:54:25 -0500 (Tue, 12 Jun 2012)
New Revision: 5568

Modified:
   cgm/trunk/geom/virtual/CompositeCurve.cpp
   cgm/trunk/geom/virtual/CompositePoint.cpp
   cgm/trunk/geom/virtual/CompositeSurface.cpp
   cgm/trunk/geom/virtual/PartitionSurface.cpp
Log:
Fix constructor initialization order


Modified: cgm/trunk/geom/virtual/CompositeCurve.cpp
===================================================================
--- cgm/trunk/geom/virtual/CompositeCurve.cpp	2012-06-12 19:34:03 UTC (rev 5567)
+++ cgm/trunk/geom/virtual/CompositeCurve.cpp	2012-06-12 19:54:25 UTC (rev 5568)
@@ -32,14 +32,8 @@
 // Creation Date : 12/19/01
 //-------------------------------------------------------------------------
 CompositeCurve::CompositeCurve( Curve* curve )
-  : hiddenSet(0), 
-    firstCoEdge(0),
-    startPoint(0), 
-    endPoint(0), 
-    startNext(0), 
-    endNext(0),
-    stitchNext(0),
-    HadBridgeRemoved(0)
+  : HadBridgeRemoved(0), hiddenSet(0), firstCoEdge(0), startPoint(0), 
+    endPoint(0), startNext(0), endNext(0), stitchNext(0)
 {
   compGeom = new CompositeGeom(1);
   compGeom->append( curve, CUBIT_FORWARD );
@@ -49,15 +43,8 @@
 }
 
 CompositeCurve::CompositeCurve( CompositeGeom* geometry )
-  : compGeom( geometry ),
-    hiddenSet( 0 ),
-    firstCoEdge( 0 ),
-    startPoint( 0 ),
-    endPoint( 0 ),
-    startNext( 0 ),
-    endNext( 0 ),
-    stitchNext(0),
-    HadBridgeRemoved(0)
+  : HadBridgeRemoved(0), compGeom(geometry), hiddenSet(0), firstCoEdge(0),
+    startPoint(0), endPoint(0), startNext(0), endNext(0), stitchNext(0)
 {
   for( int i = 0; i < compGeom->num_entities(); i++ )
   {
@@ -77,14 +64,8 @@
 // Creation Date : 02/27/04
 //-------------------------------------------------------------------------
 CompositeCurve::CompositeCurve( CompositePoint* point )
-  : hiddenSet(0), 
-    firstCoEdge(0),
-    startPoint(0), 
-    endPoint(0), 
-    startNext(0), 
-    endNext(0),
-    stitchNext(0),
-    HadBridgeRemoved(0)


More information about the cgma-dev mailing list