+ Proper handling of sketch plane parallel to view direction

This commit is contained in:
wmayer
2014-09-27 15:53:21 +02:00
parent f87bd2ac35
commit f0bf3cb6ab
3 changed files with 67 additions and 23 deletions

View File

@@ -270,6 +270,22 @@ public:
virtual ~RuntimeError() throw() {}
};
/**
* The DivisionByZeroError can be used to indicate a division by zero.
* @author Werner Mayer
*/
class BaseExport DivisionByZeroError : public Exception
{
public:
/// Construction
DivisionByZeroError(const char * sMessage);
DivisionByZeroError(const std::string& sMessage);
/// Construction
DivisionByZeroError(const DivisionByZeroError &inst);
/// Destruction
virtual ~DivisionByZeroError() throw() {}
};
inline void Exception::setMessage(const char * sMessage)
{