const gp_Vec& BRepBlend_RstRstConstRad::TangentOnRst1() const
{
- if (istangent) {Standard_DomainError::Raise();}
+ if (istangent) {throw Standard_DomainError();}
return tgrst1;
}
const gp_Vec2d& BRepBlend_RstRstConstRad::Tangent2dOnRst1() const
{
- if (istangent) {Standard_DomainError::Raise();}
+ if (istangent) {throw Standard_DomainError();}
return tg2drst1;
}
const gp_Vec& BRepBlend_RstRstConstRad::TangentOnRst2() const
{
- if (istangent) {Standard_DomainError::Raise();}
+ if (istangent) {throw Standard_DomainError();}
return tgrst2;
}
const gp_Vec2d& BRepBlend_RstRstConstRad::Tangent2dOnRst2() const
{
- if (istangent) {Standard_DomainError::Raise();}
+ if (istangent) {throw Standard_DomainError();}
return tg2drst2;
}