Revision: 57132
          http://sourceforge.net/p/brlcad/code/57132
Author:   phoenixyjll
Date:     2013-08-26 06:33:28 +0000 (Mon, 26 Aug 2013)
Log Message:
-----------
Mark the input curve as const in sub_curve().

Modified Paths:
--------------
    brlcad/trunk/include/brep.h
    brlcad/trunk/src/libbrep/intersect.cpp

Modified: brlcad/trunk/include/brep.h
===================================================================
--- brlcad/trunk/include/brep.h 2013-08-26 06:32:15 UTC (rev 57131)
+++ brlcad/trunk/include/brep.h 2013-08-26 06:33:28 UTC (rev 57132)
@@ -2054,7 +2054,7 @@
  * @return the result curve segment. NULL for error.
  */
 extern BREP_EXPORT ON_Curve*
-sub_curve(ON_Curve* in, double a, double b);
+sub_curve(const ON_Curve* in, double a, double b);
 
 } /* extern C++ */
 #endif

Modified: brlcad/trunk/src/libbrep/intersect.cpp
===================================================================
--- brlcad/trunk/src/libbrep/intersect.cpp      2013-08-26 06:32:15 UTC (rev 
57131)
+++ brlcad/trunk/src/libbrep/intersect.cpp      2013-08-26 06:33:28 UTC (rev 
57132)
@@ -254,7 +254,7 @@
 
 
 ON_Curve*
-sub_curve(ON_Curve* in, double a, double b)
+sub_curve(const ON_Curve* in, double a, double b)
 {
     ON_Interval dom = in->Domain();
     ON_Interval sub(a, b);

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to