summaryrefslogtreecommitdiff
path: root/inc/IntAna_IntQuadQuad.lxx
blob: 0f33b79f0c8774afe6c44e70c54779798ee4dbb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include <StdFail_NotDone.hxx>
#include <Standard_DomainError.hxx>

inline Standard_Boolean IntAna_IntQuadQuad::IsDone () const
{
  return(done);
}

inline Standard_Boolean IntAna_IntQuadQuad::IdenticalElements () const { 
  if(!done) {StdFail_NotDone::Raise("IntQuadQuad Not done");}
  return(identical); 
}

inline Standard_Integer IntAna_IntQuadQuad::NbCurve () const { 
  if(!done) {StdFail_NotDone::Raise("IntQuadQuad Not done");}
  if (identical) {Standard_DomainError::Raise();}
  return(NbCurves); 
}

inline Standard_Integer IntAna_IntQuadQuad::NbPnt () const
{
  if(!done) {StdFail_NotDone::Raise("IntQuadQuad Not done");}
  if (identical) {Standard_DomainError::Raise();}
  return(Nbpoints);
}