We obtain the following error during the compilation: no matching function for call to `Handle_Geom_Curve::Value (double)'.
Do you have a solution?
03Commenter-1
The class Geom_Curve is manipulate by Handle (pointer). So, you have to use: curve->Value(double).
For your example, you can define First and Last but it will be changed by the method Value(). The method Value() will give you the right values to use for First and Last. So, just use: Value((First+Last)/2.0);