const TopoDS_Edge& ChFiDS_CommonPoint::Arc()const
{
if (!isonarc){
- Standard_DomainError::Raise("CommonPoint not on Arc");
+ throw Standard_DomainError("CommonPoint not on Arc");
}
return arc;
}
TopAbs_Orientation ChFiDS_CommonPoint::TransitionOnArc()const
{
if (!isonarc){
- Standard_DomainError::Raise("CommonPoint not on Arc");
+ throw Standard_DomainError("CommonPoint not on Arc");
}
return traarc;
}
Standard_Real ChFiDS_CommonPoint::ParameterOnArc()const
{
if (!isonarc){
- Standard_DomainError::Raise("CommonPoint not on Arc");
+ throw Standard_DomainError("CommonPoint not on Arc");
}
return prmarc;
}