const Standard_Real Focal) :
pos(A2),
focalLength (Focal)
-{ Standard_ConstructionError_Raise_if(Focal < 0.0,""); }
+{
+ Standard_ConstructionError_Raise_if (Focal < 0.0, "gp_Parab() - focal length should be >= 0");
+}
inline gp_Parab::gp_Parab (const gp_Ax1& D,
const gp_Pnt& F)
inline void gp_Parab::SetFocal (const Standard_Real Focal)
{
- Standard_ConstructionError_Raise_if(Focal < 0.0,"");
+ Standard_ConstructionError_Raise_if (Focal < 0.0, "gp_Parab::SetFocal() - focal length should be >= 0");
focalLength = Focal;
}