23#ifndef VCL_EXCEPTIONS_MESH_H
24#define VCL_EXCEPTIONS_MESH_H
43 virtual const char* what()
const throw()
45 static std::string
error;
47 std::string(
"Inconsistent Mesh - ") + std::runtime_error::what();
62 std::runtime_error(
err)
66 virtual const char* what()
const throw()
68 static std::string
error;
69 error = std::string(
"Missing Mesh Precondition - ") +
70 std::runtime_error::what();
84 std::runtime_error(
err)
88 virtual const char* what()
const throw()
90 static std::string
error;
92 std::string(
"Lack of Compactness - ") + std::runtime_error::what();
110 virtual const char* what()
const throw()
112 static std::string
error;
114 std::string(
"Missing Component - ") + std::runtime_error::what();
115 return error.c_str();
129 std::runtime_error(
err)
133 virtual const char* what()
const throw()
135 static std::string
error;
136 error = std::string(
"Missing Triangular Mesh Requirement - ") +
137 std::runtime_error::what();
138 return error.c_str();
151 std::runtime_error(
err)
155 virtual const char* what()
const throw()
157 static std::string
error;
158 error = std::string(
"Missing Quad Mesh Requirement - ") +
159 std::runtime_error::what();
160 return error.c_str();
174 virtual const char* what()
const throw()
176 static std::string
error;
177 error = std::string(
"Bad Vertex Index - ") + std::runtime_error::what();
178 return error.c_str();
192 std::runtime_error(
err)
196 virtual const char* what()
const throw()
198 static std::string
error;
199 error = std::string(
"Bad Custom Component Type - ") +
200 std::runtime_error::what();
201 return error.c_str();
Exception thrown when the type of a custom component is not the one expected.
Definition mesh.h:189
Exception thrown when an index is out of bounds in a vertex container.
Definition mesh.h:170
Exception thrown when the mesh is inconsistent.
Definition mesh.h:37
Exception thrown when the mesh is not compact.
Definition mesh.h:81
Exception thrown when a mesh/element component is missing (not enabled).
Definition mesh.h:104
Exception thrown when a precondition on an input/output mesh is missing.
Definition mesh.h:59
Exception thrown when an input/output mesh is not composed of quads.
Definition mesh.h:148
Exception thrown when an input/output mesh is not composed of triangles.
Definition mesh.h:126
A class representing a line segment in n-dimensional space. The class is parameterized by a PointConc...
Definition segment.h:43