[cgma-dev] r5273 - cgm/trunk/geom
jiangtao_ma at yahoo.com
jiangtao_ma at yahoo.com
Wed Dec 21 11:46:24 CST 2011
Author: janehu
Date: 2011-12-21 11:46:23 -0600 (Wed, 21 Dec 2011)
New Revision: 5273
Modified:
cgm/trunk/geom/GeometryModifyEngine.hpp
Log:
change create_arc methods to be const, from Boyd's code, he directly used these methods in his const functions, which means in Cubit, these functions are const.
Modified: cgm/trunk/geom/GeometryModifyEngine.hpp
===================================================================
--- cgm/trunk/geom/GeometryModifyEngine.hpp 2011-12-21 16:53:06 UTC (rev 5272)
+++ cgm/trunk/geom/GeometryModifyEngine.hpp 2011-12-21 17:46:23 UTC (rev 5273)
@@ -728,18 +728,18 @@
virtual Curve* create_arc_three( Point* pt1,
Point* pt2,
Point* pt3,
- bool full = false ) = 0;
+ bool full = false ) const= 0;
virtual Curve* create_arc_three( Curve* curve1,
Curve* curve2,
Curve* curve3,
- bool full = false ) = 0;
+ bool full = false ) const= 0;
virtual Curve* create_arc_center_edge( Point* point1,
Point* point2,
Point* point3,
const CubitVector &normal,
double radius = CUBIT_DBL_MAX,
- bool full = false ) = 0;
+ bool full = false ) const= 0;
//- Methods to create arcs. First uses 3 points on arc, next creates arc
//- tangent to 3 curves, last creates arc using center and two points on arc.
More information about the cgma-dev
mailing list