27 return TTriangle::numberInstance++;
112 THROW( ExcAssertMsg() << EI_Message(
"Unknown number of the abscissa of the triangle.") );
125 default:
THROW( ExcAssertMsg() << EI_Message(
"Unknown number of the point of the triangle.") );
156 for (
int i=0; i<3; ++i) {
166 double min =
X1.
Get(i);
168 if (
X2.
Get(i) < min) {
171 if (
X3.
Get(i) < min) {
179 double max =
X1.
Get(i);
181 if (
X2.
Get(i) > max) {
184 if (
X3.
Get(i) > max) {
211 if (
Dot(N1, N2) < 0) {
217 if (
Dot(N1, N2) < 0) {
223 if (
Dot(N1, N2) < 0) {
Bounding box in 3d ambient space.
TTriangle & operator=(const TTriangle &t)
const TPoint & GetPoint(int) const
const TVector & GetVector() const
void SetPoints(const TPoint &, const TPoint &)
static int numberInstance
double Dot(const TVector &, const TVector &)
const TPlain & GetPlain() const
const TAbscissa & GetAbscissa(int) const
bool IsInner(const TPoint &) const
void SetPoints(const TPoint &, const TPoint &, const TPoint &)
void SetPoints(const TPoint &, const TPoint &, const TPoint &)
TVector Cross(const TVector &, const TVector &)
#define THROW(whole_exception_expr)
Wrapper for throw. Saves the throwing point.
BoundingBox & get_bounding_box()