Standard_Integer GeomFill_Profiler::Degree() const
{
if ( !myIsDone)
- StdFail_NotDone::Raise("GeomFill_Profiler::Degree");
+ throw StdFail_NotDone("GeomFill_Profiler::Degree");
Handle(Geom_BSplineCurve) C =
Handle(Geom_BSplineCurve)::DownCast(mySequence(1));
Standard_Integer GeomFill_Profiler::NbPoles() const
{
if ( !myIsDone)
- StdFail_NotDone::Raise("GeomFill_Profiler::Degree");
+ throw StdFail_NotDone("GeomFill_Profiler::Degree");
Handle(Geom_BSplineCurve) C =
Handle(Geom_BSplineCurve)::DownCast(mySequence(1));
TColgp_Array1OfPnt& Poles) const
{
if ( !myIsDone)
- StdFail_NotDone::Raise("GeomFill_Profiler::Degree");
+ throw StdFail_NotDone("GeomFill_Profiler::Degree");
Standard_DomainError_Raise_if( Poles.Length() != NbPoles(),
"GeomFill_Profiler::Poles");
TColStd_Array1OfReal& Weights) const
{
if ( !myIsDone)
- StdFail_NotDone::Raise("GeomFill_Profiler::Degree");
+ throw StdFail_NotDone("GeomFill_Profiler::Degree");
Standard_DomainError_Raise_if( Weights.Length() != NbPoles(),
"GeomFill_Profiler::Weights");
Standard_Integer GeomFill_Profiler::NbKnots() const
{
if ( !myIsDone)
- StdFail_NotDone::Raise("GeomFill_Profiler::Degree");
+ throw StdFail_NotDone("GeomFill_Profiler::Degree");
Handle(Geom_BSplineCurve) C =
Handle(Geom_BSplineCurve)::DownCast(mySequence(1));
TColStd_Array1OfInteger& Mults ) const
{
if ( !myIsDone)
- StdFail_NotDone::Raise("GeomFill_Profiler::Degree");
+ throw StdFail_NotDone("GeomFill_Profiler::Degree");
#ifndef No_Exception
Standard_Integer n = NbKnots();