inline const IntRes2d_IntersectionPoint&
IntRes2d_IntersectionSegment::FirstPoint () const {
- if (!first) { Standard_DomainError::Raise(); }
+ if (!first) { throw Standard_DomainError(); }
return ptfirst;
}
inline const IntRes2d_IntersectionPoint&
IntRes2d_IntersectionSegment::LastPoint () const {
- if (!last) { Standard_DomainError::Raise();}
+ if (!last) { throw Standard_DomainError();}
return ptlast;
}