MC++

Exceptions of mc::EllImg.

#include <ellimage.hpp>

Public Types

enum  TYPE {
  DIV = 1, INV, LOG, SQRT,
  TAN, ACOS, INIT = -1, EIMG = -3,
  UNDEF = -33
}
 Enumeration type for EllImg exception handling. More...
 

Public Member Functions

 Exceptions (TYPE ierr)
 Constructor for error ierr
 
int ierr ()
 Error flag.
 
std::string what ()
 Error description.
 

Member Enumeration Documentation

template<class T>
enum mc::EllImg::Exceptions::TYPE
Enumerator
DIV 

Division by zero scalar.

INV 

Inverse operation with zero in domain.

LOG 

Log operation with non-positive numbers in domain.

SQRT 

Square-root operation with negative numbers in domain.

TAN 

Tangent operation with zero in domain of cosine, tan(x) = sin(x)/cos(x)

ACOS 

Sine/Cosine inverse operation with domain outside [-1,1].

INIT 

Failed to construct ellipsoidal variable EllVar.

EIMG 

Operation between ellipsoidal variables EllVar linked to different ellipsoidal images EllImg.

UNDEF 

Feature not yet implemented in mc::EllImg.


The documentation for this class was generated from the following file: