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


inline Standard_Boolean IntAna_Int3Pln::IsDone () const {

  return done;
}

inline Standard_Boolean IntAna_Int3Pln::IsEmpty () const {

  if (!done) {StdFail_NotDone::Raise();}
  return empt;
}

inline const gp_Pnt& IntAna_Int3Pln::Value () const {

  if (!done) {StdFail_NotDone::Raise();}
  if (empt) {Standard_DomainError::Raise();}
  return pnt;
}