Moby
Main Page
Related Pages
Namespaces
Classes
Files
File List
include
Moby
DegenerateTriangleException.h
1
/****************************************************************************
2
* Copyright 2008 Evan Drumwright
3
* This library is distributed under the terms of the Apache V2.0
4
* License (obtainable from http://www.apache.org/licenses/LICENSE-2.0).
5
****************************************************************************/
6
7
#ifndef _DEGENERATE_TRIANGLE_EXCEPTION_H_
8
#define _DEGENERATE_TRIANGLE_EXCEPTION_H_
9
10
#include <stdexcept>
11
12
namespace
Moby {
13
15
class
DegenerateTriangleException
:
public
std::runtime_error
16
{
17
public
:
18
DegenerateTriangleException
() : std::runtime_error(
"Tried to perform an operation that requires a normal on a degenerate triangle"
) {}
19
};
// end class
20
21
22
}
// end namespace
23
24
#endif
25
Moby::DegenerateTriangleException
Exception thrown when trying to perform an operation that requires a normal on a degenerate triangle...
Definition:
DegenerateTriangleException.h:15
Generated on Wed Mar 23 2016 16:29:50 for Moby by
1.8.6