[cgma-dev] r5268 - cgm/trunk/geom/OCC
jiangtao_ma at yahoo.com
jiangtao_ma at yahoo.com
Mon Dec 19 09:33:06 CST 2011
Author: janehu
Date: 2011-12-19 09:32:57 -0600 (Mon, 19 Dec 2011)
New Revision: 5268
Modified:
cgm/trunk/geom/OCC/OCCCurve.cpp
Log:
Fixed the extra assert(0) bug reported by Boyd Tidwell bktidwell.
Modified: cgm/trunk/geom/OCC/OCCCurve.cpp
===================================================================
--- cgm/trunk/geom/OCC/OCCCurve.cpp 2011-12-18 20:57:17 UTC (rev 5267)
+++ cgm/trunk/geom/OCC/OCCCurve.cpp 2011-12-19 15:32:57 UTC (rev 5268)
@@ -344,10 +344,6 @@
DLIList<CubitVector*>& interior_points,
CubitSense& return_sense )
{
- // Danilov: try to use GeomAPI_ExtremaCurveCurve
- // Will do 3 primary directions seperately.
- assert(0);
-
DLIList<CubitVector*> point_list;
CubitVector x(1.0, 0.0, 0.0);
get_interior_extrema_in_direction(point_list, x);
@@ -900,7 +896,6 @@
//----------------------------------------------------------------
void OCCCurve::adjust_periodic_parameter(double& param)
{
- assert(0);
// Adjustment only legal if this is a periodic curve.
double period;
if ( this->is_periodic(period) && (fabs(period) > CUBIT_RESABS))
More information about the cgma-dev
mailing list