0023706: Cannot project point on curve
[occt.git] / src / HLRBRep / HLRBRep_CurveTool.lxx
index b5ed07f..2065e82 100755 (executable)
@@ -313,3 +313,15 @@ inline Handle(Geom2d_BSplineCurve)
 inline Standard_Real
 HLRBRep_CurveTool::EpsX(const Standard_Address C)
 { return(1e-10); }
+
+
+//=======================================================================
+//function : Degree
+//purpose  : 
+//=======================================================================
+
+inline Standard_Integer
+     HLRBRep_CurveTool::Degree (const Standard_Address C)
+{
+  return(((HLRBRep_Curve *)C)->Degree());
+}